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.001059/0.001059, allocations: 107.6 kB / 17.93 MB, free: 5.676 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.001102/0.001102, allocations: 193.8 kB / 18.86 MB, free: 4.754 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.461/1.461, allocations: 205.1 MB / 224.7 MB, free: 12.3 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.001282/0.001282, allocations: 51.92 kB / 280.8 MB, free: 3.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09912, allocations: 46.63 MB / 327.5 MB, free: 4.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02895/0.1281, allocations: 24.5 MB / 351.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.1315, allocations: 2.492 MB / 354.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.1318, allocations: 0 / 354.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.1324, allocations: 143.2 kB / 354.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005662/0.1329, allocations: 306.5 kB / 354.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.135, allocations: 0.959 MB / 355.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009042/0.1359, allocations: 0.9107 MB / 356.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1361, allocations: 88.69 kB / 356.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004694/0.1408, allocations: 3.449 MB / 360.3 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.1412, allocations: 298.8 kB / 360.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.1413, allocations: 32 kB / 360.6 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005632/0.1419, allocations: 243.7 kB / 360.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.142, allocations: 95.72 kB / 360.9 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.1422, allocations: 187.2 kB / 361.1 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.1427, allocations: 458.9 kB / 361.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1427, allocations: 0 / 361.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1427, allocations: 0 / 361.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1427, allocations: 0 / 361.6 MB, free: 2.508 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.0008351/0.1436, allocations: 0.6237 MB / 362.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1436, allocations: 15.83 kB / 362.2 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.144, allocations: 56.55 kB / 362.3 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.1443, allocations: 295.7 kB / 362.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1444, allocations: 20.94 kB / 362.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.1444, allocations: 24.38 kB / 362.6 MB, free: 1.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.1449, allocations: 334.4 kB / 362.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.145, allocations: 11.92 kB / 362.9 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.145, allocations: 15.94 kB / 363 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.145, allocations: 4 kB / 363 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.1453, allocations: 189.5 kB / 363.1 MB, free: 0.8125 MB / 302.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.002015/0.1473, allocations: 2.115 MB / 365.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.1476, allocations: 174.6 kB / 365.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1478, allocations: 84.77 kB / 365.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.1479, allocations: 255.3 kB / 365.8 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.148, allocations: 42.5 kB / 365.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.148, allocations: 0 / 365.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002438/0.1504, allocations: 1.019 MB / 366.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1505, allocations: 59.34 kB / 366.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1507, allocations: 258.6 kB / 367.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.1508, allocations: 37.7 kB / 367.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1509, allocations: 180.2 kB / 367.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.151, allocations: 106.5 kB / 367.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.539e-05/0.1511, allocations: 74.06 kB / 367.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1512, allocations: 338.8 kB / 367.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1513, allocations: 84.7 kB / 367.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1515, allocations: 170.7 kB / 368.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.1519, allocations: 281.1 kB / 368.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1519, allocations: 0 / 368.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005694/0.1525, allocations: 381.6 kB / 368.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1525, allocations: 4 kB / 368.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1525, allocations: 4 kB / 368.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/0.1529, allocations: 109 kB / 368.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1532, allocations: 67.89 kB / 368.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004966/0.1537, allocations: 0.6499 MB / 369.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.1539, allocations: 23.92 kB / 369.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1539, allocations: 16 kB / 369.6 MB, free: 9.809 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.0001583/0.1541, allocations: 157.8 kB / 369.8 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.1542, allocations: 35.56 kB / 369.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.1548, allocations: 365 kB / 370.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1548, allocations: 4 kB / 370.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1548, allocations: 0 / 370.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004618/0.1552, allocations: 0.5631 MB / 370.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009826/0.1562, allocations: 0.74 MB / 371.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1563, allocations: 0 / 371.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.1564, allocations: 39.91 kB / 371.5 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.1569, allocations: 100.8 kB / 371.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.1569, allocations: 8 kB / 371.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004456/0.1574, allocations: 0.6459 MB / 372.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1574, allocations: 0 / 372.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.158, allocations: 485.4 kB / 372.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.1581, allocations: 104.9 kB / 372.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.1582, allocations: 8.062 kB / 372.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.1584, allocations: 12 kB / 372.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.1585, allocations: 23.91 kB / 372.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.1585, allocations: 15.98 kB / 372.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1587, allocations: 198 kB / 373.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1587, allocations: 0 / 373.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.1591, allocations: 119.9 kB / 373.2 MB, free: 5.957 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.0002436/0.1594, allocations: 143.1 kB / 373.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.1599, allocations: 251.8 kB / 373.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1599, allocations: 0 / 373.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.1601, allocations: 124.3 kB / 373.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.1611, allocations: 168.5 kB / 373.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1622, allocations: 0.7736 MB / 374.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1625, allocations: 0.7645 MB / 375.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.1626, allocations: 35.42 kB / 375.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1626, allocations: 4 kB / 375.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of Templates: time 0.1661/0.3287, allocations: 6.401 MB / 381.9 MB, free: 56.61 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 -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","../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