Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 105.3 kB / 18.36 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 191 kB / 19.3 MB, free: 3.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 51.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07676/0.07796, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002707/0.08071, allocations: 1.491 MB / 330.2 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008552/0.08159, allocations: 0.5462 MB / 330.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.08165, allocations: 4 kB / 330.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.08179, allocations: 19.86 kB / 330.8 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.08186, allocations: 11.92 kB / 330.8 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.08202, allocations: 27.92 kB / 330.8 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.08212, allocations: 59.78 kB / 330.9 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.08224, allocations: 23.97 kB / 330.9 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.08235, allocations: 27.92 kB / 330.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.08242, allocations: 27.91 kB / 331 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.08245, allocations: 8 kB / 331 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.08252, allocations: 19.94 kB / 331 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.08254, allocations: 11.92 kB / 331 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.08258, allocations: 35.84 kB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.08273, allocations: 67.78 kB / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.08274, allocations: 0 / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08275, allocations: 0 / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.08276, allocations: 0 / 331.1 MB, free: 1.355 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005966/0.08336, allocations: 383.3 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.08341, allocations: 8.031 kB / 331.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.08345, allocations: 8.844 kB / 331.5 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.08356, allocations: 172.3 kB / 331.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.08358, allocations: 384 / 331.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.0836, allocations: 8.375 kB / 331.7 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.08387, allocations: 89.95 kB / 331.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.08388, allocations: 0 / 331.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.0839, allocations: 0 / 331.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.08391, allocations: 7.984 kB / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.08422, allocations: 75.86 kB / 331.8 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.08462, allocations: 316.6 kB / 332.2 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.08487, allocations: 74.56 kB / 332.2 MB, free: 88 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.08504, allocations: 48.94 kB / 332.3 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.08507, allocations: 3.938 kB / 332.3 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.08512, allocations: 34.61 kB / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.08513, allocations: 0 / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005748/0.08571, allocations: 149.7 kB / 332.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.08575, allocations: 51.41 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.08582, allocations: 121.8 kB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.08584, allocations: 25.7 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.08589, allocations: 92.12 kB / 332.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.08592, allocations: 11.81 kB / 332.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.08596, allocations: 13.72 kB / 332.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.08606, allocations: 326.8 kB / 333.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.08622, allocations: 32.03 kB / 333.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.08637, allocations: 47.95 kB / 333.2 MB, free: 15.08 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.08666, allocations: 76.78 kB / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.08667, allocations: 0 / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003337/0.08701, allocations: 121.5 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.08703, allocations: 4 kB / 333.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.08704, allocations: 0 / 333.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.08706, allocations: 0 / 333.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.08721, allocations: 19.97 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.08723, allocations: 4 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.08732, allocations: 11.92 kB / 333.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.08734, allocations: 8 kB / 333.4 MB, free: 14.83 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.08742, allocations: 113.8 kB / 333.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.08745, allocations: 11.84 kB / 333.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/0.08786, allocations: 137.5 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.08787, allocations: 0 / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.08788, allocations: 0 / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.08792, allocations: 85.02 kB / 333.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.08795, allocations: 12.31 kB / 333.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.08806, allocations: 7.984 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.08811, allocations: 7.984 kB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004339/0.08855, allocations: 208.9 kB / 334 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004041/0.08897, allocations: 302.6 kB / 334.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001953/0.08918, allocations: 47.95 kB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.08924, allocations: 103.1 kB / 334.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of Backend: time 5.71e-07/0.08925, allocations: 0 / 334.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005517/0.0898, allocations: 118.4 kB / 334.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of SimCode: time 0.0005613/0.09038, allocations: 0.5931 MB / 335.1 MB, free: 13 MB / 286.1 MB Notification: Performance of Templates: time 0.003582/0.09397, allocations: 1.148 MB / 336.3 MB, free: 11.85 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches