Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001069/0.001069, allocations: 191 kB / 19.29 MB, free: 3.848 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.309/1.309, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001292/0.001292, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.08259, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.0265/0.1091, allocations: 24.57 MB / 353.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.112, allocations: 2.499 MB / 355.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1122, allocations: 7.938 kB / 355.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004513/0.1126, allocations: 147 kB / 356 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005089/0.1131, allocations: 330.2 kB / 356.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.1151, allocations: 1.017 MB / 357.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000778/0.1159, allocations: 0.8992 MB / 358.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1161, allocations: 104.7 kB / 358.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.1199, allocations: 3.059 MB / 361.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.1202, allocations: 270.9 kB / 361.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.1203, allocations: 32 kB / 361.6 MB, free: 2.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.1207, allocations: 243.6 kB / 361.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1209, allocations: 99.64 kB / 362 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.1211, allocations: 187.3 kB / 362.2 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.1217, allocations: 0.5764 MB / 362.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1217, allocations: 0 / 362.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1217, allocations: 4 kB / 362.7 MB, free: 1.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1217, allocations: 0 / 362.7 MB, free: 1.613 MB / 302.1 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.0008218/0.1225, allocations: 0.6276 MB / 363.4 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1226, allocations: 11.89 kB / 363.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.1229, allocations: 48.55 kB / 363.4 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.1234, allocations: 295.7 kB / 363.7 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1234, allocations: 20.94 kB / 363.7 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.1235, allocations: 24.38 kB / 363.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.1239, allocations: 342.4 kB / 364.1 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.124, allocations: 4 kB / 364.1 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.124, allocations: 12 kB / 364.1 MB, free: 128 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.124, allocations: 8 kB / 364.1 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.1243, allocations: 189.5 kB / 364.3 MB, free: 15.93 MB / 318.1 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.001925/0.1263, allocations: 2.115 MB / 366.4 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1266, allocations: 183.5 kB / 366.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1267, allocations: 96.77 kB / 366.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.1269, allocations: 247.5 kB / 366.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.127, allocations: 38.56 kB / 367 MB, free: 12.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.127, allocations: 0 / 367 MB, free: 12.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002412/0.1294, allocations: 1.018 MB / 368 MB, free: 11.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1294, allocations: 55.41 kB / 368.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1297, allocations: 262.6 kB / 368.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.1297, allocations: 29.7 kB / 368.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1299, allocations: 192.1 kB / 368.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.1299, allocations: 102.5 kB / 368.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1301, allocations: 70.06 kB / 368.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1302, allocations: 346.7 kB / 369 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1304, allocations: 88.64 kB / 369.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1306, allocations: 178.6 kB / 369.3 MB, free: 10.49 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.131, allocations: 273.2 kB / 369.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.131, allocations: 0 / 369.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000579/0.1315, allocations: 385.6 kB / 369.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1316, allocations: 8 kB / 369.9 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1316, allocations: 4 kB / 369.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/0.132, allocations: 92.78 kB / 370 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1322, allocations: 67.84 kB / 370.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005126/0.1328, allocations: 0.654 MB / 370.8 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.1329, allocations: 12.03 kB / 370.8 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.133, allocations: 19.98 kB / 370.8 MB, free: 8.922 MB / 318.1 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.0001469/0.1331, allocations: 153.7 kB / 370.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.1332, allocations: 31.66 kB / 371 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006266/0.1338, allocations: 372.9 kB / 371.3 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1339, allocations: 8.062 kB / 371.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1339, allocations: 0 / 371.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005335/0.1344, allocations: 0.5515 MB / 371.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.1355, allocations: 0.744 MB / 372.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1355, allocations: 0 / 372.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1356, allocations: 36.05 kB / 372.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/0.1361, allocations: 100.7 kB / 372.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1361, allocations: 8 kB / 372.8 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004741/0.1366, allocations: 0.6419 MB / 373.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1366, allocations: 8.094 kB / 373.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.1373, allocations: 485.3 kB / 373.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.1374, allocations: 100.8 kB / 374 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.1375, allocations: 12 kB / 374 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1377, allocations: 16.05 kB / 374 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1378, allocations: 11.98 kB / 374 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.1378, allocations: 15.98 kB / 374.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.138, allocations: 198 kB / 374.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.138, allocations: 0 / 374.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.1384, allocations: 112 kB / 374.4 MB, free: 5.086 MB / 318.1 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.0002373/0.1387, allocations: 151.1 kB / 374.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.1392, allocations: 247.9 kB / 374.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1392, allocations: 0 / 374.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.1395, allocations: 123.7 kB / 374.9 MB, free: 4.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.1403, allocations: 169.3 kB / 375 MB, free: 4.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1414, allocations: 0.6352 MB / 375.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1417, allocations: 0.7645 MB / 376.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.1419, allocations: 67.17 kB / 376.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.142, allocations: 31.42 kB / 376.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.142, allocations: 0 / 376.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of Templates: time 0.1325/0.2746, allocations: 7.005 MB / 383.5 MB, free: 56.54 MB / 318.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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