Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 109 kB / 18.49 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 216.7 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 79.88 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1266, allocations: 66.05 MB / 0.5562 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006297/0.1329, allocations: 4.617 MB / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.1377, allocations: 4.029 MB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1378, allocations: 0 / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.1381, allocations: 51.61 kB / 0.5647 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.14, allocations: 0.7266 MB / 0.5654 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1404, allocations: 139.5 kB / 0.5655 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006213/0.141, allocations: 374.1 kB / 0.5659 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.1411, allocations: 9.672 kB / 0.5659 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.1413, allocations: 147.4 kB / 0.566 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1415, allocations: 151.5 kB / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1416, allocations: 8 kB / 0.5662 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.1426, allocations: 447.4 kB / 0.5666 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.1427, allocations: 47.81 kB / 0.5667 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1428, allocations: 99.52 kB / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008361/0.1437, allocations: 474.5 kB / 0.5672 GB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1437, allocations: 0 / 0.5672 GB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1437, allocations: 3.938 kB / 0.5672 GB, free: 10.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1437, allocations: 0 / 0.5672 GB, free: 10.17 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.00127/0.1449, allocations: 0.5961 MB / 0.5678 GB, free: 9.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.145, allocations: 15.97 kB / 0.5678 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.783e-05/0.145, allocations: 4.75 kB / 0.5678 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.1451, allocations: 62.72 kB / 0.5679 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.1452, allocations: 24.84 kB / 0.5679 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.1456, allocations: 232.1 kB / 0.5681 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.1457, allocations: 127.9 kB / 0.5682 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1458, allocations: 23.94 kB / 0.5683 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.1464, allocations: 319.7 kB / 0.5686 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1464, allocations: 7.938 kB / 0.5686 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.1464, allocations: 12 kB / 0.5686 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.1464, allocations: 4 kB / 0.5686 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009639/0.1474, allocations: 0.739 MB / 0.5693 GB, free: 7.871 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.001725/0.1491, allocations: 1.308 MB / 0.5706 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.1495, allocations: 155.7 kB / 0.5707 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1497, allocations: 77.48 kB / 0.5708 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002837/0.1525, allocations: 2.81 MB / 0.5736 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1525, allocations: 38.55 kB / 0.5736 GB, free: 2.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.1525, allocations: 0 / 0.5736 GB, free: 2.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003281/0.1529, allocations: 125.3 kB / 0.5737 GB, free: 2.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1529, allocations: 55.41 kB / 0.5738 GB, free: 2.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1531, allocations: 228.6 kB / 0.574 GB, free: 2.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1532, allocations: 25.7 kB / 0.574 GB, free: 2.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1533, allocations: 223.4 kB / 0.5742 GB, free: 2.137 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.1534, allocations: 51.62 kB / 0.5743 GB, free: 2.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1535, allocations: 78.08 kB / 0.5743 GB, free: 2.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1536, allocations: 326.8 kB / 0.5747 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1537, allocations: 48.84 kB / 0.5747 GB, free: 1.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.1541, allocations: 343.2 kB / 0.575 GB, free: 1.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.1546, allocations: 448.5 kB / 0.5755 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.1546, allocations: 4 kB / 0.5755 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006064/0.1552, allocations: 385.5 kB / 0.5758 GB, free: 176 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.1552, allocations: 12 kB / 0.5758 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.1552, allocations: 11.94 kB / 0.5759 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.1553, allocations: 16 kB / 0.5759 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.1555, allocations: 95.83 kB / 0.576 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.1556, allocations: 19.94 kB / 0.576 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.1558, allocations: 55.73 kB / 0.576 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.1558, allocations: 32.39 kB / 0.5761 GB, free: 15.93 MB / 446.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.0001382/0.156, allocations: 157.6 kB / 0.5762 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.156, allocations: 15.91 kB / 0.5762 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.1563, allocations: 152.2 kB / 0.5764 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.1563, allocations: 4 kB / 0.5764 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1563, allocations: 0 / 0.5764 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1563, allocations: 0 / 0.5764 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.1569, allocations: 401 kB / 0.5768 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1569, allocations: 0 / 0.5768 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.1569, allocations: 23.95 kB / 0.5768 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1569, allocations: 4 kB / 0.5768 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1569, allocations: 4 kB / 0.5768 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1569, allocations: 0 / 0.5768 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1569, allocations: 0 / 0.5768 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1572, allocations: 213.8 kB / 0.577 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.1573, allocations: 100.9 kB / 0.5771 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.1573, allocations: 8.141 kB / 0.5771 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1574, allocations: 12.05 kB / 0.5771 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.1575, allocations: 11.94 kB / 0.5771 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1575, allocations: 0 / 0.5771 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1576, allocations: 152.5 kB / 0.5773 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1576, allocations: 4 kB / 0.5773 GB, free: 14.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005194/0.1581, allocations: 99.8 kB / 0.5774 GB, free: 14.46 MB / 446.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.0007554/0.1589, allocations: 0.7928 MB / 0.5781 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.1592, allocations: 166.1 kB / 0.5783 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1592, allocations: 320 / 0.5783 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.1593, allocations: 19.94 kB / 0.5783 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.1597, allocations: 44.39 kB / 0.5784 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.1631, allocations: 2.81 MB / 0.5811 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.1635, allocations: 0.7324 MB / 0.5818 GB, free: 9.465 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.1637, allocations: 55.34 kB / 0.5819 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.1638, allocations: 59.42 kB / 0.5819 GB, free: 9.352 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1638, allocations: 0 / 0.5819 GB, free: 9.352 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.1865, allocations: 5.288 MB / 0.5871 GB, free: 4.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.395, allocations: 10.98 kB / 0.5871 GB, free: 4.172 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.720730015949812]