Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001039, allocations: 177.6 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.6 MB / 223.7 MB, free: 8.969 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008776/0.0008775, allocations: 86.38 kB / 272.1 MB, free: 8.16 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002643, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2172, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02098/0.2383, allocations: 34.18 MB / 410.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2407, allocations: 3.509 MB / 414.3 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.241, allocations: 4 kB / 414.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.2414, allocations: 123.3 kB / 414.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.2419, allocations: 322.4 kB / 414.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.2436, allocations: 0.9279 MB / 415.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008348/0.2445, allocations: 1.348 MB / 417 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.2446, allocations: 73.73 kB / 417.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.2482, allocations: 3.018 MB / 420.1 MB, free: 2.102 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.2485, allocations: 282.8 kB / 420.4 MB, free: 1.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.2485, allocations: 16 kB / 420.4 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.249, allocations: 215.6 kB / 420.6 MB, free: 1.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.2491, allocations: 83.7 kB / 420.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2492, allocations: 200.9 kB / 420.9 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.2497, allocations: 0.5569 MB / 421.4 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2497, allocations: 0 / 421.4 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2497, allocations: 0 / 421.4 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2498, allocations: 0 / 421.4 MB, free: 0.7539 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006265/0.2504, allocations: 0.5458 MB / 422 MB, free: 164 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2504, allocations: 12.03 kB / 422 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.2508, allocations: 52.55 kB / 422.1 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.2512, allocations: 295.6 kB / 422.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2512, allocations: 20.88 kB / 422.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.2513, allocations: 24.38 kB / 422.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.2518, allocations: 338.3 kB / 422.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2518, allocations: 0 / 422.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.2519, allocations: 16 kB / 422.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.2519, allocations: 4 kB / 422.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.2522, allocations: 189.5 kB / 422.9 MB, free: 15.15 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.2544, allocations: 2.115 MB / 425 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.2548, allocations: 182.6 kB / 425.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.2549, allocations: 84.77 kB / 425.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.2551, allocations: 255.5 kB / 425.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2551, allocations: 42.56 kB / 425.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.2551, allocations: 0 / 425.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002488/0.2576, allocations: 1.011 MB / 426.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.2577, allocations: 55.41 kB / 426.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.258, allocations: 266.5 kB / 426.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.258, allocations: 37.64 kB / 427 MB, free: 10.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2581, allocations: 180.1 kB / 427.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.2582, allocations: 106.5 kB / 427.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.2582, allocations: 8 kB / 427.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2583, allocations: 338.8 kB / 427.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2585, allocations: 84.72 kB / 427.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2587, allocations: 174.6 kB / 427.8 MB, free: 9.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.2591, allocations: 281.1 kB / 428.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2591, allocations: 0 / 428.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005457/0.2596, allocations: 377.6 kB / 428.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2597, allocations: 8 kB / 428.5 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2597, allocations: 0 / 428.5 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.2601, allocations: 97.09 kB / 428.6 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.2604, allocations: 71.91 kB / 428.6 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005119/0.2609, allocations: 0.6576 MB / 429.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2611, allocations: 12 kB / 429.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.2611, allocations: 23.98 kB / 429.3 MB, free: 8.223 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.2613, allocations: 153.8 kB / 429.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.2613, allocations: 31.66 kB / 429.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/0.262, allocations: 381.7 kB / 429.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.262, allocations: 0 / 429.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.262, allocations: 0 / 429.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004989/0.2625, allocations: 0.5545 MB / 430.4 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2635, allocations: 0.7386 MB / 431.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2635, allocations: 3.938 kB / 431.2 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.2637, allocations: 35.98 kB / 431.2 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.2642, allocations: 104.8 kB / 431.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2642, allocations: 0 / 431.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004596/0.2647, allocations: 0.6497 MB / 432 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2647, allocations: 7.922 kB / 432 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.2653, allocations: 487 kB / 432.5 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2654, allocations: 104.8 kB / 432.6 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.2655, allocations: 8 kB / 432.6 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.2657, allocations: 23.95 kB / 432.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.2658, allocations: 11.98 kB / 432.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.2658, allocations: 15.98 kB / 432.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.266, allocations: 194 kB / 432.8 MB, free: 4.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.266, allocations: 0 / 432.8 MB, free: 4.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.2664, allocations: 116 kB / 432.9 MB, free: 4.375 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.2667, allocations: 151.1 kB / 433.1 MB, free: 4.219 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.2672, allocations: 239.7 kB / 433.3 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2672, allocations: 0 / 433.3 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.2674, allocations: 122.9 kB / 433.4 MB, free: 3.867 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.2684, allocations: 166.8 kB / 433.6 MB, free: 3.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2695, allocations: 0.7931 MB / 434.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.2698, allocations: 0.757 MB / 435.1 MB, free: 2.105 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002905/0.2701, allocations: 75.2 kB / 435.2 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.2702, allocations: 31.42 kB / 435.2 MB, free: 2 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2702, allocations: 0 / 435.2 MB, free: 2 MB / 314.7 MB Notification: Performance of Templates: time 0.0105/0.2807, allocations: 6.66 MB / 441.9 MB, free: 11.39 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches