Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001316/0.001316, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.00185/0.00185, allocations: 212.7 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.395/1.395, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2666/0.2666, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 70.25 kB / 467.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1245, allocations: 61.05 MB / 0.5162 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006672/0.1312, allocations: 4.648 MB / 0.5207 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.1365, allocations: 4.084 MB / 0.5247 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1367, allocations: 0 / 0.5247 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.1369, allocations: 51.61 kB / 0.5248 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.1387, allocations: 0.6759 MB / 0.5254 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.1391, allocations: 155.7 kB / 0.5256 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006067/0.1397, allocations: 374.2 kB / 0.5259 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.1398, allocations: 5.812 kB / 0.5259 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.1401, allocations: 159.4 kB / 0.5261 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.1404, allocations: 127.5 kB / 0.5262 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1404, allocations: 8 kB / 0.5262 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007164/0.1411, allocations: 311.6 kB / 0.5265 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.1412, allocations: 39.83 kB / 0.5266 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1414, allocations: 95.58 kB / 0.5266 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008487/0.1422, allocations: 426.8 kB / 0.5271 GB, free: 11.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1422, allocations: 0 / 0.5271 GB, free: 11.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1422, allocations: 0 / 0.5271 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1422, allocations: 0 / 0.5271 GB, free: 11.97 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001114/0.1433, allocations: 0.513 MB / 0.5276 GB, free: 11.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1434, allocations: 8.031 kB / 0.5276 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.587e-05/0.1435, allocations: 62.73 kB / 0.5276 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.1436, allocations: 28.8 kB / 0.5276 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.144, allocations: 166.3 kB / 0.5278 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.1442, allocations: 230.7 kB / 0.528 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.1442, allocations: 24.12 kB / 0.5281 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.1449, allocations: 0.5066 MB / 0.5285 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1449, allocations: 0 / 0.5285 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.145, allocations: 15.94 kB / 0.5286 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.145, allocations: 4 kB / 0.5286 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.146, allocations: 0.7118 MB / 0.5293 GB, free: 9.523 MB / 414.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.001445/0.1474, allocations: 1.092 MB / 0.5303 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1477, allocations: 130.8 kB / 0.5305 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1479, allocations: 80.31 kB / 0.5305 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.1493, allocations: 0.6362 MB / 0.5311 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1493, allocations: 38.5 kB / 0.5312 GB, free: 7.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.1493, allocations: 0 / 0.5312 GB, free: 7.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006865/0.15, allocations: 221 kB / 0.5314 GB, free: 7.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1501, allocations: 59.41 kB / 0.5315 GB, free: 7.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.1503, allocations: 230.6 kB / 0.5317 GB, free: 6.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1503, allocations: 25.7 kB / 0.5317 GB, free: 6.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1505, allocations: 219.6 kB / 0.5319 GB, free: 6.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.1505, allocations: 63.45 kB / 0.532 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1506, allocations: 85.97 kB / 0.532 GB, free: 6.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1508, allocations: 326.8 kB / 0.5324 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1509, allocations: 52.84 kB / 0.5324 GB, free: 6.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.1512, allocations: 322.1 kB / 0.5327 GB, free: 5.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.1517, allocations: 421.2 kB / 0.5331 GB, free: 5.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.1517, allocations: 4 kB / 0.5331 GB, free: 5.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006185/0.1523, allocations: 381.8 kB / 0.5335 GB, free: 4.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1524, allocations: 12 kB / 0.5335 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.1524, allocations: 12 kB / 0.5335 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.1524, allocations: 15.94 kB / 0.5335 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.1528, allocations: 107.8 kB / 0.5336 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.1528, allocations: 15.94 kB / 0.5336 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.153, allocations: 20 kB / 0.5337 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.153, allocations: 31.98 kB / 0.5337 GB, free: 4.543 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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 0.0001403/0.1532, allocations: 145.6 kB / 0.5338 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.1532, allocations: 23.91 kB / 0.5339 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.1536, allocations: 158.8 kB / 0.534 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.1536, allocations: 3.938 kB / 0.534 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1536, allocations: 0 / 0.534 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1536, allocations: 4 kB / 0.534 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.1542, allocations: 399.4 kB / 0.5344 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1542, allocations: 3.938 kB / 0.5344 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1544, allocations: 31.98 kB / 0.5344 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1544, allocations: 0 / 0.5344 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1544, allocations: 7.938 kB / 0.5344 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1544, allocations: 0 / 0.5344 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1544, allocations: 0 / 0.5344 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.1547, allocations: 228.4 kB / 0.5347 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.1547, allocations: 31.8 kB / 0.5347 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1548, allocations: 4 kB / 0.5347 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.155, allocations: 7.984 kB / 0.5347 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.155, allocations: 11.98 kB / 0.5347 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.155, allocations: 8 kB / 0.5347 GB, free: 3.402 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1551, allocations: 148.5 kB / 0.5349 GB, free: 3.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1551, allocations: 0 / 0.5349 GB, free: 3.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.1556, allocations: 95.88 kB / 0.5349 GB, free: 3.168 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0007934/0.1564, allocations: 0.8261 MB / 0.5358 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.1568, allocations: 177.4 kB / 0.5359 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1568, allocations: 0 / 0.5359 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.1568, allocations: 32.67 kB / 0.536 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.1573, allocations: 60.58 kB / 0.536 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2105/0.3677, allocations: 2.7 MB / 0.5387 GB, free: 27.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3678, allocations: 118.7 kB / 0.5388 GB, free: 27.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.3681, allocations: 59.02 kB / 0.5388 GB, free: 27.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.3682, allocations: 66.16 kB / 0.5389 GB, free: 27.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3682, allocations: 0 / 0.5389 GB, free: 27.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/0.4978, allocations: 6.265 MB / 0.545 GB, free: 26.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.82, allocations: 5.578 kB / 0.545 GB, free: 26.11 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.24495358718559]