Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002378/0.002378, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 72.2 kB / 491.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1346, allocations: 64.26 MB / 0.543 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006332/0.1409, allocations: 4.559 MB / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.1462, allocations: 4.021 MB / 0.5514 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1463, allocations: 0 / 0.5514 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.1467, allocations: 55.59 kB / 0.5515 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.1487, allocations: 0.7227 MB / 0.5522 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1491, allocations: 135 kB / 0.5523 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.1497, allocations: 374.1 kB / 0.5527 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.1498, allocations: 5.688 kB / 0.5527 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.15, allocations: 147.5 kB / 0.5528 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.1503, allocations: 151.5 kB / 0.553 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.1503, allocations: 8 kB / 0.553 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.1514, allocations: 439.4 kB / 0.5534 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.19e-05/0.1514, allocations: 43.81 kB / 0.5534 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1516, allocations: 103.5 kB / 0.5535 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.1523, allocations: 470.8 kB / 0.554 GB, free: 8.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1523, allocations: 0 / 0.554 GB, free: 8.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1523, allocations: 8 kB / 0.554 GB, free: 8.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1523, allocations: 3.938 kB / 0.554 GB, free: 8.832 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.001196/0.1535, allocations: 0.6039 MB / 0.5546 GB, free: 8.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1536, allocations: 8.031 kB / 0.5546 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.1536, allocations: 62.73 kB / 0.5546 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.1538, allocations: 28.8 kB / 0.5547 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.1542, allocations: 228.1 kB / 0.5549 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.1543, allocations: 127.9 kB / 0.555 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.1544, allocations: 28.12 kB / 0.555 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.1549, allocations: 323.7 kB / 0.5553 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1549, allocations: 3.938 kB / 0.5553 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1549, allocations: 8 kB / 0.5554 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.155, allocations: 4 kB / 0.5554 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008656/0.1558, allocations: 0.7391 MB / 0.5561 GB, free: 6.527 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.001523/0.1574, allocations: 1.296 MB / 0.5573 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.1577, allocations: 159.6 kB / 0.5575 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1579, allocations: 85.45 kB / 0.5576 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002931/0.1608, allocations: 2.81 MB / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1608, allocations: 30.56 kB / 0.5604 GB, free: 1.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.1608, allocations: 11.94 kB / 0.5604 GB, free: 1.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003288/0.1612, allocations: 117.4 kB / 0.5605 GB, free: 1.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.1612, allocations: 55.41 kB / 0.5605 GB, free: 1.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1614, allocations: 223.9 kB / 0.5607 GB, free: 1.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1614, allocations: 25.7 kB / 0.5608 GB, free: 1.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1616, allocations: 231.3 kB / 0.561 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.1617, allocations: 43.69 kB / 0.561 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1618, allocations: 90.02 kB / 0.5611 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1619, allocations: 330.8 kB / 0.5614 GB, free: 336 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.162, allocations: 48.84 kB / 0.5615 GB, free: 284 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.1624, allocations: 339.2 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.1629, allocations: 448.5 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1629, allocations: 4 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000575/0.1635, allocations: 381.1 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.1635, allocations: 12 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.1635, allocations: 11.98 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/0.1635, allocations: 20.69 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.1638, allocations: 91.84 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.1638, allocations: 27.92 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.164, allocations: 51.62 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.1641, allocations: 28 kB / 0.5628 GB, free: 14.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001416/0.1642, allocations: 157.5 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.1642, allocations: 19.86 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.1645, allocations: 144.5 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.1645, allocations: 4 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1645, allocations: 4 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1645, allocations: 48 / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.165, allocations: 420.8 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.165, allocations: 0 / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.1651, allocations: 15.94 kB / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1651, allocations: 96 / 0.5636 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1651, allocations: 11.94 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1651, allocations: 0 / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1651, allocations: 0 / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1653, allocations: 213.9 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.1654, allocations: 93 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.1654, allocations: 4 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1656, allocations: 8 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.1656, allocations: 7.984 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1656, allocations: 4 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1657, allocations: 160.5 kB / 0.564 GB, free: 13.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1657, allocations: 0 / 0.564 GB, free: 13.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005012/0.1663, allocations: 91.83 kB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0007314/0.167, allocations: 0.7966 MB / 0.5649 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.1673, allocations: 169.9 kB / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1673, allocations: 0 / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.1673, allocations: 23.92 kB / 0.5651 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1678, allocations: 41.22 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.171, allocations: 2.802 MB / 0.5679 GB, free: 8.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.1713, allocations: 0.7206 MB / 0.5686 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.1715, allocations: 54.92 kB / 0.5686 GB, free: 8.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.1716, allocations: 63.41 kB / 0.5687 GB, free: 8.02 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1716, allocations: 0 / 0.5687 GB, free: 8.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.199, allocations: 5.261 MB / 0.5738 GB, free: 2.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.218, allocations: 9.234 kB / 0.5738 GB, free: 2.871 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.43737649358809]