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.001379/0.001379, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001443/0.001443, allocations: 215.6 kB / 23.77 MB, free: 4.551 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.44/1.44, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.2123/0.2123, allocations: 44.26 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",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.002156/0.002156, allocations: 69.14 kB / 468.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1208, allocations: 61.06 MB / 0.517 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006418/0.1272, allocations: 4.644 MB / 0.5215 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.1323, allocations: 4.065 MB / 0.5255 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1325, allocations: 4 kB / 0.5255 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1328, allocations: 47.67 kB / 0.5255 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.1353, allocations: 0.6759 MB / 0.5262 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1357, allocations: 155.7 kB / 0.5263 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.1363, allocations: 374.2 kB / 0.5267 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.1364, allocations: 9.812 kB / 0.5267 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.1367, allocations: 159.4 kB / 0.5268 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1369, allocations: 135.4 kB / 0.527 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.137, allocations: 8 kB / 0.527 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.1378, allocations: 311.6 kB / 0.5273 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1379, allocations: 51.75 kB / 0.5273 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.138, allocations: 91.59 kB / 0.5274 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007125/0.1387, allocations: 422.9 kB / 0.5278 GB, free: 11.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1387, allocations: 4 kB / 0.5278 GB, free: 11.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1387, allocations: 0 / 0.5278 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1387, allocations: 0 / 0.5278 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.001067/0.1398, allocations: 0.513 MB / 0.5283 GB, free: 11.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1398, allocations: 8.031 kB / 0.5283 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.705e-05/0.1398, allocations: 8.688 kB / 0.5283 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.761e-05/0.1399, allocations: 58.73 kB / 0.5284 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1401, allocations: 32.78 kB / 0.5284 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.1405, allocations: 174.2 kB / 0.5286 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.1407, allocations: 226.7 kB / 0.5288 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.1408, allocations: 27.94 kB / 0.5288 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.1415, allocations: 0.5027 MB / 0.5293 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1415, allocations: 0 / 0.5293 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.1416, allocations: 8 kB / 0.5293 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1416, allocations: 8 kB / 0.5293 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009258/0.1425, allocations: 0.7586 MB / 0.5301 GB, free: 9.469 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.001434/0.144, allocations: 1.084 MB / 0.5311 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.1443, allocations: 138.8 kB / 0.5313 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1444, allocations: 72.33 kB / 0.5313 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.1458, allocations: 0.6439 MB / 0.532 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1458, allocations: 34.56 kB / 0.532 GB, free: 7.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.1458, allocations: 0 / 0.532 GB, free: 7.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006767/0.1465, allocations: 225 kB / 0.5322 GB, free: 7.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.1466, allocations: 51.41 kB / 0.5323 GB, free: 7.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1468, allocations: 214.8 kB / 0.5325 GB, free: 6.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.1468, allocations: 29.7 kB / 0.5325 GB, free: 6.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.147, allocations: 223.5 kB / 0.5327 GB, free: 6.629 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.147, allocations: 47.64 kB / 0.5328 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1471, allocations: 90.02 kB / 0.5328 GB, free: 6.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1473, allocations: 334.8 kB / 0.5332 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/0.1474, allocations: 44.84 kB / 0.5332 GB, free: 6.105 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.1477, allocations: 326.1 kB / 0.5335 GB, free: 5.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.1482, allocations: 425.1 kB / 0.5339 GB, free: 5.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1482, allocations: 8 kB / 0.5339 GB, free: 5.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005955/0.1488, allocations: 365.3 kB / 0.5343 GB, free: 4.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1488, allocations: 15.94 kB / 0.5343 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.1488, allocations: 8 kB / 0.5343 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.1488, allocations: 19.92 kB / 0.5343 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.1492, allocations: 116.4 kB / 0.5344 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.1493, allocations: 19.92 kB / 0.5344 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.1495, allocations: 16 kB / 0.5345 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.1495, allocations: 28 kB / 0.5345 GB, free: 4.512 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.0001757/0.1497, allocations: 149.6 kB / 0.5346 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.1498, allocations: 19.86 kB / 0.5347 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.1501, allocations: 154.9 kB / 0.5348 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.1502, allocations: 7.938 kB / 0.5348 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1502, allocations: 3.984 kB / 0.5348 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1502, allocations: 0 / 0.5348 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.1508, allocations: 394.4 kB / 0.5352 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1508, allocations: 4 kB / 0.5352 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.151, allocations: 31.92 kB / 0.5352 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.151, allocations: 0 / 0.5352 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.151, allocations: 11.95 kB / 0.5352 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.151, allocations: 4 kB / 0.5352 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.151, allocations: 0 / 0.5352 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1513, allocations: 221.3 kB / 0.5354 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.1514, allocations: 23.89 kB / 0.5355 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.1514, allocations: 11.89 kB / 0.5355 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1516, allocations: 15.92 kB / 0.5355 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.1517, allocations: 7.984 kB / 0.5355 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1517, allocations: 7.984 kB / 0.5355 GB, free: 3.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1518, allocations: 148.5 kB / 0.5357 GB, free: 3.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1518, allocations: 4 kB / 0.5357 GB, free: 3.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005739/0.1524, allocations: 95.92 kB / 0.5358 GB, free: 3.129 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.0008881/0.1533, allocations: 0.8224 MB / 0.5366 GB, free: 2.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.1537, allocations: 169.4 kB / 0.5367 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1537, allocations: 0 / 0.5367 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.1538, allocations: 43.91 kB / 0.5368 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1543, allocations: 49.33 kB / 0.5368 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.213/0.3673, allocations: 2.715 MB / 0.5395 GB, free: 27.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3674, allocations: 117.8 kB / 0.5396 GB, free: 27.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.3676, allocations: 60.28 kB / 0.5396 GB, free: 27.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3677, allocations: 66.34 kB / 0.5397 GB, free: 27.46 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3677, allocations: 0 / 0.5397 GB, free: 27.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.3962, allocations: 6.042 MB / 0.5456 GB, free: 26.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.23, allocations: 6.469 kB / 0.5456 GB, free: 26.55 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.432771423016675]