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.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.001536/0.001536, allocations: 113 kB / 18.49 MB, free: 4.539 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.001837/0.001837, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.228/0.228, allocations: 44.91 MB / 355.8 MB, free: 12.33 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002251/0.002251, allocations: 75.88 kB / 0.4886 GB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1274, allocations: 65.43 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006995/0.1344, allocations: 4.616 MB / 0.557 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00509/0.1395, allocations: 4.025 MB / 0.5609 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.1396, allocations: 0 / 0.5609 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.1399, allocations: 55.59 kB / 0.561 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.1418, allocations: 0.7266 MB / 0.5617 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1422, allocations: 135.2 kB / 0.5618 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006115/0.1428, allocations: 370.1 kB / 0.5622 GB, free: 132 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.1428, allocations: 13.62 kB / 0.5622 GB, free: 120 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.1431, allocations: 151.5 kB / 0.5623 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.1434, allocations: 151.4 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.1434, allocations: 8 kB / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1445, allocations: 439.5 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1446, allocations: 39.81 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.1447, allocations: 107.5 kB / 0.563 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009833/0.1457, allocations: 474.8 kB / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1457, allocations: 0 / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1457, allocations: 0 / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1457, allocations: 4 kB / 0.5635 GB, free: 14.77 MB / 430.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.00137/0.1471, allocations: 0.6117 MB / 0.5641 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1471, allocations: 8.031 kB / 0.5641 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.467e-05/0.1472, allocations: 8.75 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.296e-05/0.1472, allocations: 62.72 kB / 0.5642 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.1474, allocations: 28.83 kB / 0.5642 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.1478, allocations: 224 kB / 0.5644 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.148, allocations: 127.9 kB / 0.5645 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.148, allocations: 23.88 kB / 0.5645 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.1486, allocations: 327.6 kB / 0.5649 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1486, allocations: 0 / 0.5649 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.1486, allocations: 15.94 kB / 0.5649 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.1487, allocations: 8 kB / 0.5649 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000888/0.1496, allocations: 0.7429 MB / 0.5656 GB, free: 12.45 MB / 430.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.001532/0.1511, allocations: 1.296 MB / 0.5669 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.1515, allocations: 153.2 kB / 0.567 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.1516, allocations: 77.47 kB / 0.5671 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002772/0.1544, allocations: 2.813 MB / 0.5698 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1544, allocations: 38.56 kB / 0.5699 GB, free: 7.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 3.257e-06/0.1544, allocations: 3.984 kB / 0.5699 GB, free: 7.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003242/0.1548, allocations: 125.3 kB / 0.57 GB, free: 7.277 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1548, allocations: 55.41 kB / 0.5701 GB, free: 7.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.155, allocations: 219.9 kB / 0.5703 GB, free: 6.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.155, allocations: 29.7 kB / 0.5703 GB, free: 6.953 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1552, allocations: 223.4 kB / 0.5705 GB, free: 6.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1552, allocations: 51.58 kB / 0.5706 GB, free: 6.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1553, allocations: 86.06 kB / 0.5706 GB, free: 6.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1555, allocations: 330.8 kB / 0.571 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.1556, allocations: 44.84 kB / 0.571 GB, free: 6.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.1559, allocations: 347.2 kB / 0.5713 GB, free: 5.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.1565, allocations: 436.6 kB / 0.5717 GB, free: 5.148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.1565, allocations: 4 kB / 0.5717 GB, free: 5.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006526/0.1571, allocations: 393.7 kB / 0.5721 GB, free: 4.754 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.1572, allocations: 10.41 kB / 0.5721 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.1572, allocations: 19.94 kB / 0.5721 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.1572, allocations: 12 kB / 0.5722 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1575, allocations: 99.78 kB / 0.5723 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.1575, allocations: 19.92 kB / 0.5723 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.1577, allocations: 51.62 kB / 0.5723 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.1578, allocations: 28 kB / 0.5724 GB, free: 4.52 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.0001485/0.1579, allocations: 149.6 kB / 0.5725 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.158, allocations: 23.91 kB / 0.5725 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.1583, allocations: 144.5 kB / 0.5727 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.1583, allocations: 4 kB / 0.5727 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1583, allocations: 0 / 0.5727 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1583, allocations: 3.984 kB / 0.5727 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.1589, allocations: 416.8 kB / 0.5731 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1589, allocations: 0 / 0.5731 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.1589, allocations: 12 kB / 0.5731 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1589, allocations: 4 kB / 0.5731 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1589, allocations: 0 / 0.5731 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1589, allocations: 3.984 kB / 0.5731 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1589, allocations: 4.094 kB / 0.5731 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1592, allocations: 206 kB / 0.5733 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.1593, allocations: 105 kB / 0.5734 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1593, allocations: 7.891 kB / 0.5734 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1594, allocations: 7.938 kB / 0.5734 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.1595, allocations: 11.98 kB / 0.5734 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1595, allocations: 8 kB / 0.5734 GB, free: 3.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1596, allocations: 152.5 kB / 0.5736 GB, free: 3.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1596, allocations: 0 / 0.5736 GB, free: 3.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005391/0.1602, allocations: 95.88 kB / 0.5737 GB, free: 3.055 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.0007711/0.1609, allocations: 0.7967 MB / 0.5744 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.1613, allocations: 160.4 kB / 0.5746 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1613, allocations: 5.938 kB / 0.5746 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.1613, allocations: 23.92 kB / 0.5746 GB, free: 2.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1618, allocations: 48.77 kB / 0.5747 GB, free: 1.988 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.1652, allocations: 2.802 MB / 0.5774 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.1656, allocations: 0.7285 MB / 0.5781 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.1657, allocations: 50.92 kB / 0.5782 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.1658, allocations: 63.41 kB / 0.5782 GB, free: 13.94 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1658, allocations: 0 / 0.5782 GB, free: 13.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.188, allocations: 5.293 MB / 0.5834 GB, free: 8.785 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.582, allocations: 6.703 kB / 0.5834 GB, free: 8.781 MB / 446.1 MB " [Timeout remaining time 651] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 12.106452142004855]