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.001759/0.001759, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001907/0.001907, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.2416/0.2416, allocations: 46.89 MB / 357.4 MB, free: 10.53 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 76.22 kB / 0.4913 GB, free: 26.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1244, allocations: 65.98 MB / 0.5557 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006453/0.1309, allocations: 4.625 MB / 0.5602 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004857/0.1357, allocations: 4.018 MB / 0.5642 GB, free: 400 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1359, allocations: 0 / 0.5642 GB, free: 400 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.1363, allocations: 51.66 kB / 0.5642 GB, free: 348 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.1386, allocations: 0.7305 MB / 0.5649 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.139, allocations: 141.2 kB / 0.5651 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000579/0.1395, allocations: 374.1 kB / 0.5654 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.1396, allocations: 9.688 kB / 0.5654 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.1398, allocations: 143.5 kB / 0.5656 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.1401, allocations: 155.4 kB / 0.5657 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1401, allocations: 8 kB / 0.5657 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1411, allocations: 443.5 kB / 0.5661 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.1412, allocations: 39.83 kB / 0.5662 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1413, allocations: 107.5 kB / 0.5663 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.1421, allocations: 478.8 kB / 0.5667 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1421, allocations: 0 / 0.5667 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1421, allocations: 0 / 0.5667 GB, free: 13.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1422, allocations: 0 / 0.5667 GB, free: 13.75 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.001193/0.1433, allocations: 0.6145 MB / 0.5673 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1434, allocations: 12.03 kB / 0.5673 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.634e-05/0.1435, allocations: 58.73 kB / 0.5674 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.1436, allocations: 24.84 kB / 0.5674 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.144, allocations: 228.1 kB / 0.5676 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.1441, allocations: 123.9 kB / 0.5678 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.1442, allocations: 24.12 kB / 0.5678 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.1447, allocations: 327.6 kB / 0.5681 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1447, allocations: 0 / 0.5681 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.1447, allocations: 19.98 kB / 0.5681 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.1447, allocations: 8 kB / 0.5681 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009021/0.1457, allocations: 0.739 MB / 0.5688 GB, free: 11.44 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.001559/0.1472, allocations: 1.3 MB / 0.5701 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.1476, allocations: 155.7 kB / 0.5703 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1478, allocations: 77.48 kB / 0.5703 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003135/0.1509, allocations: 2.81 MB / 0.5731 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.1509, allocations: 38.56 kB / 0.5731 GB, free: 6.395 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.1509, allocations: 0 / 0.5731 GB, free: 6.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003519/0.1513, allocations: 121.3 kB / 0.5732 GB, free: 6.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.1513, allocations: 59.41 kB / 0.5733 GB, free: 6.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1516, allocations: 224.7 kB / 0.5735 GB, free: 5.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1516, allocations: 29.7 kB / 0.5735 GB, free: 5.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.1518, allocations: 219.4 kB / 0.5737 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.1519, allocations: 51.62 kB / 0.5738 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.152, allocations: 82.08 kB / 0.5739 GB, free: 5.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1521, allocations: 326.8 kB / 0.5742 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.1522, allocations: 48.83 kB / 0.5742 GB, free: 5.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.1526, allocations: 347.2 kB / 0.5746 GB, free: 4.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.1531, allocations: 444.5 kB / 0.575 GB, free: 4.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.1531, allocations: 4 kB / 0.575 GB, free: 4.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005866/0.1537, allocations: 385.6 kB / 0.5754 GB, free: 3.754 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1537, allocations: 8 kB / 0.5754 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.1537, allocations: 12 kB / 0.5754 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.1537, allocations: 19.88 kB / 0.5754 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.154, allocations: 99.83 kB / 0.5755 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/0.154, allocations: 19.92 kB / 0.5755 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.1543, allocations: 55.62 kB / 0.5756 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.1543, allocations: 28.05 kB / 0.5756 GB, free: 3.516 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.0001401/0.1544, allocations: 153.8 kB / 0.5757 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.1545, allocations: 27.88 kB / 0.5758 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.1548, allocations: 144.5 kB / 0.5759 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.1548, allocations: 0 / 0.5759 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.1548, allocations: 0 / 0.5759 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1548, allocations: 0 / 0.5759 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.1553, allocations: 416.9 kB / 0.5763 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1553, allocations: 4.062 kB / 0.5763 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.1554, allocations: 15.94 kB / 0.5763 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1554, allocations: 8.094 kB / 0.5763 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1554, allocations: 0 / 0.5763 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1554, allocations: 0 / 0.5763 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1554, allocations: 4 kB / 0.5763 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.1556, allocations: 205.8 kB / 0.5765 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.1557, allocations: 101 kB / 0.5766 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.1558, allocations: 11.89 kB / 0.5766 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1559, allocations: 7.984 kB / 0.5766 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.1559, allocations: 7.984 kB / 0.5766 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.156, allocations: 4 kB / 0.5766 GB, free: 2.297 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.1561, allocations: 156.5 kB / 0.5768 GB, free: 2.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1561, allocations: 0 / 0.5768 GB, free: 2.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005212/0.1566, allocations: 95.88 kB / 0.5769 GB, free: 2.047 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.0006901/0.1573, allocations: 0.7968 MB / 0.5777 GB, free: 1.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.1576, allocations: 162.4 kB / 0.5778 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1576, allocations: 0 / 0.5778 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.1577, allocations: 32.05 kB / 0.5779 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1581, allocations: 36.41 kB / 0.5779 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.1614, allocations: 2.796 MB / 0.5806 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1619, allocations: 0.7362 MB / 0.5813 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.1621, allocations: 55.2 kB / 0.5814 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.1621, allocations: 67.41 kB / 0.5815 GB, free: 12.92 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1621, allocations: 0 / 0.5815 GB, free: 12.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.1911, allocations: 5.247 MB / 0.5866 GB, free: 7.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.29, allocations: 12.78 kB / 0.5866 GB, free: 7.762 MB / 446.1 MB " [Timeout remaining time 652] (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_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_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.490505896974355]