Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009073/0.0009077, allocations: 177.7 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.495/1.495, allocations: 205.6 MB / 223.7 MB, free: 8.93 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.0007675/0.0007675, allocations: 86.38 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002594, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2538, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008351/0.2622, allocations: 10.03 MB / 386.6 MB, free: 36.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2633, allocations: 1.235 MB / 387.9 MB, free: 35.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.2634, allocations: 1.531 kB / 387.9 MB, free: 35.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.2637, allocations: 28.05 kB / 387.9 MB, free: 35.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.2651, allocations: 0.5186 MB / 388.4 MB, free: 34.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2654, allocations: 89.44 kB / 388.5 MB, free: 34.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.2658, allocations: 216.4 kB / 388.7 MB, free: 34.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.2658, allocations: 12.73 kB / 388.7 MB, free: 34.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.267, allocations: 0.6183 MB / 389.3 MB, free: 34.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.2672, allocations: 51.95 kB / 389.4 MB, free: 34.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2672, allocations: 3.219 kB / 389.4 MB, free: 34.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.2687, allocations: 0.8661 MB / 390.3 MB, free: 33.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.2688, allocations: 21.62 kB / 390.3 MB, free: 33.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2689, allocations: 71.84 kB / 390.3 MB, free: 33.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.2694, allocations: 244.5 kB / 390.6 MB, free: 33.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2695, allocations: 0 / 390.6 MB, free: 33.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2695, allocations: 0 / 390.6 MB, free: 33.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2695, allocations: 0 / 390.6 MB, free: 33.63 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004732/0.27, allocations: 399.3 kB / 391 MB, free: 33.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.27, allocations: 8.031 kB / 391 MB, free: 33.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.2704, allocations: 32.83 kB / 391 MB, free: 33.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.2705, allocations: 200.2 kB / 391.2 MB, free: 32.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2706, allocations: 8.375 kB / 391.2 MB, free: 32.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.2706, allocations: 12.38 kB / 391.2 MB, free: 32.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.2708, allocations: 138.8 kB / 391.4 MB, free: 32.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2708, allocations: 4 kB / 391.4 MB, free: 32.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2708, allocations: 0 / 391.4 MB, free: 32.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2709, allocations: 0 / 391.4 MB, free: 32.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.271, allocations: 107.9 kB / 391.5 MB, free: 32.64 MB / 298.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.0005509/0.2716, allocations: 0.6685 MB / 392.1 MB, free: 31.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.2717, allocations: 90.48 kB / 392.2 MB, free: 31.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.2718, allocations: 41.09 kB / 392.3 MB, free: 31.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004246/0.2722, allocations: 0.8115 MB / 393.1 MB, free: 30.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2722, allocations: 34.56 kB / 393.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.2722, allocations: 0 / 393.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002317/0.2725, allocations: 125.6 kB / 393.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.745e-05/0.2725, allocations: 51.41 kB / 393.3 MB, free: 30.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.2726, allocations: 121.7 kB / 393.4 MB, free: 30.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2726, allocations: 25.7 kB / 393.4 MB, free: 30.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.2726, allocations: 107.9 kB / 393.5 MB, free: 30.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.2727, allocations: 43.36 kB / 393.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.2727, allocations: 4 kB / 393.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.2727, allocations: 314.8 kB / 393.9 MB, free: 29.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.2728, allocations: 27.98 kB / 393.9 MB, free: 29.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.2728, allocations: 67.94 kB / 394 MB, free: 29.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2729, allocations: 113 kB / 394.1 MB, free: 29.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2729, allocations: 0 / 394.1 MB, free: 29.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001574/0.2731, allocations: 138 kB / 394.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2731, allocations: 4 kB / 394.2 MB, free: 29.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2731, allocations: 4 kB / 394.2 MB, free: 29.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2731, allocations: 0 / 394.2 MB, free: 29.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.2733, allocations: 39.92 kB / 394.3 MB, free: 29.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2733, allocations: 11.86 kB / 394.3 MB, free: 29.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.2733, allocations: 12.22 kB / 394.3 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2734, allocations: 12 kB / 394.3 MB, free: 29.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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.208e-05/0.2734, allocations: 118 kB / 394.4 MB, free: 29.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.2735, allocations: 7.906 kB / 394.4 MB, free: 29.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.2738, allocations: 153.9 kB / 394.6 MB, free: 29.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2738, allocations: 0 / 394.6 MB, free: 29.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2738, allocations: 3.938 kB / 394.6 MB, free: 29.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2738, allocations: 0 / 394.6 MB, free: 29.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.2741, allocations: 386.5 kB / 395 MB, free: 28.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2741, allocations: 4 kB / 395 MB, free: 28.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.2742, allocations: 23.92 kB / 395 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2742, allocations: 3.938 kB / 395 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2742, allocations: 8 kB / 395 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2743, allocations: 0 / 395 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2743, allocations: 0 / 395 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.2744, allocations: 199.4 kB / 395.2 MB, free: 28.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.2745, allocations: 112.9 kB / 395.3 MB, free: 28.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2745, allocations: 4 kB / 395.3 MB, free: 28.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.2746, allocations: 0 / 395.3 MB, free: 28.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.2746, allocations: 11.92 kB / 395.3 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2746, allocations: 12 kB / 395.3 MB, free: 28.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.2747, allocations: 91.27 kB / 395.4 MB, free: 28.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2747, allocations: 0 / 395.4 MB, free: 28.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.275, allocations: 52 kB / 395.5 MB, free: 28.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.000273/0.2753, allocations: 187.3 kB / 395.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.2754, allocations: 75.91 kB / 395.7 MB, free: 27.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2754, allocations: 0 / 395.7 MB, free: 27.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.2755, allocations: 39.92 kB / 395.8 MB, free: 27.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2759, allocations: 45.27 kB / 395.8 MB, free: 27.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.2763, allocations: 296.7 kB / 396.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.2764, allocations: 0.6931 MB / 396.8 MB, free: 26.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.2766, allocations: 32.73 kB / 396.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.2766, allocations: 23.44 kB / 396.9 MB, free: 26.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2766, allocations: 0 / 396.9 MB, free: 26.72 MB / 298.7 MB Notification: Performance of Templates: time 0.004778/0.2814, allocations: 2.412 MB / 399.3 MB, free: 24.33 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches