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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 87.67 kB / 21.43 MB, free: 3.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00319/0.00319, allocations: 154.1 kB / 24.69 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8024/0.8024, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.254e-05, allocations: 2.281 kB / 298.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.1236/0.1236, allocations: 22.3 MB / 320.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1258, allocations: 2.325 MB / 323.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.126, allocations: 7.75 kB / 323.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.1264, allocations: 163 kB / 323.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.1269, allocations: 343.6 kB / 323.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.1286, allocations: 1.058 MB / 324.7 MB, free: 168 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000729/0.1293, allocations: 0.9032 MB / 325.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1295, allocations: 75.77 kB / 325.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.1327, allocations: 3.247 MB / 328.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.133, allocations: 248.8 kB / 329.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.1331, allocations: 29.72 kB / 329.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.1335, allocations: 259 kB / 329.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.1336, allocations: 104.4 kB / 329.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1338, allocations: 142.1 kB / 329.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.1343, allocations: 0.613 MB / 330.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1343, allocations: 3.938 kB / 330.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1343, allocations: 0 / 330.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1343, allocations: 0 / 330.3 MB, free: 13.19 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.000624/0.1349, allocations: 0.5542 MB / 330.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.135, allocations: 16.64 kB / 330.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.135, allocations: 60.2 kB / 330.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.1353, allocations: 53.38 kB / 331 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1356, allocations: 241.6 kB / 331.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1356, allocations: 19.66 kB / 331.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.1357, allocations: 27.52 kB / 331.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1361, allocations: 0.5553 MB / 331.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1361, allocations: 1.844 kB / 331.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.1361, allocations: 24.38 kB / 331.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1361, allocations: 6.25 kB / 331.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.1363, allocations: 186.2 kB / 332 MB, free: 11.75 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.001191/0.1375, allocations: 1.439 MB / 333.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1377, allocations: 174.3 kB / 333.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.1378, allocations: 80.98 kB / 333.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.113e-05/0.1379, allocations: 23.33 kB / 333.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1379, allocations: 38.28 kB / 333.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.793e-06/0.1379, allocations: 0 / 333.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001567/0.1395, allocations: 0.8799 MB / 334.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1395, allocations: 53.53 kB / 334.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1397, allocations: 266.5 kB / 335 MB, free: 9.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1397, allocations: 31.08 kB / 335 MB, free: 9.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.1398, allocations: 187.6 kB / 335.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.1399, allocations: 103.5 kB / 335.3 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/0.1399, allocations: 73.52 kB / 335.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.14, allocations: 341.6 kB / 335.7 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-05/0.1401, allocations: 88.72 kB / 335.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1403, allocations: 170.8 kB / 335.9 MB, free: 8.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.1405, allocations: 275.5 kB / 336.2 MB, free: 8.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1405, allocations: 4 kB / 336.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004018/0.1409, allocations: 386.1 kB / 336.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1409, allocations: 6.875 kB / 336.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1409, allocations: 2.75 kB / 336.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.1412, allocations: 91.98 kB / 336.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1414, allocations: 69.72 kB / 336.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003712/0.1417, allocations: 0.6538 MB / 337.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1418, allocations: 8 kB / 337.4 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1419, allocations: 20 kB / 337.4 MB, free: 7.379 MB / 298.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.0001159/0.142, allocations: 157.6 kB / 337.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.142, allocations: 27.86 kB / 337.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.1424, allocations: 369 kB / 338 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1424, allocations: 8.062 kB / 338 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1424, allocations: 0 / 338 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003285/0.1428, allocations: 0.5513 MB / 338.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.1434, allocations: 0.6651 MB / 339.2 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1434, allocations: 4 kB / 339.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.1435, allocations: 31.92 kB / 339.2 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.1438, allocations: 108.8 kB / 339.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1438, allocations: 11.98 kB / 339.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003225/0.1441, allocations: 0.6304 MB / 340 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1441, allocations: 0 / 340 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.1446, allocations: 497.9 kB / 340.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1446, allocations: 31.73 kB / 340.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.1446, allocations: 8.125 kB / 340.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1448, allocations: 12 kB / 340.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.1448, allocations: 15.97 kB / 340.5 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1448, allocations: 16.86 kB / 340.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1449, allocations: 197.2 kB / 340.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1449, allocations: 0 / 340.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.1453, allocations: 115.9 kB / 340.9 MB, free: 3.715 MB / 298.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.0007549/0.146, allocations: 1.062 MB / 341.9 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1464, allocations: 224 kB / 342.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1464, allocations: 0 / 342.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1465, allocations: 115.6 kB / 342.2 MB, free: 2.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.147, allocations: 177.8 kB / 342.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.1497, allocations: 3.058 MB / 345.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1499, allocations: 151.9 kB / 345.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.1501, allocations: 63.23 kB / 345.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1502, allocations: 100.5 kB / 345.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1502, allocations: 3.938 kB / 345.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.1735, allocations: 11.29 MB / 357.1 MB, free: 3.223 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.801, allocations: 4 kB / 357.1 MB, free: 3.219 MB / 314.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.32106529828161]