Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001342/0.001342, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001514/0.001514, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.417/1.417, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2211/0.2211, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.89 kB / 0.491 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1311, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006941/0.138, allocations: 4.624 MB / 0.5599 GB, free: 1.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005044/0.1431, allocations: 4.025 MB / 0.5639 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.1432, allocations: 4 kB / 0.5639 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1436, allocations: 51.61 kB / 0.5639 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.1456, allocations: 0.7305 MB / 0.5646 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.146, allocations: 127.3 kB / 0.5647 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.1466, allocations: 378 kB / 0.5651 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.1466, allocations: 9.688 kB / 0.5651 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.1469, allocations: 147.4 kB / 0.5653 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.1472, allocations: 155.4 kB / 0.5654 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.1472, allocations: 8 kB / 0.5654 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.1483, allocations: 443.5 kB / 0.5658 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.1484, allocations: 47.75 kB / 0.5659 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1486, allocations: 99.58 kB / 0.566 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.1496, allocations: 470.5 kB / 0.5664 GB, free: 10.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1496, allocations: 3.938 kB / 0.5664 GB, free: 10.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1496, allocations: 4 kB / 0.5664 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1496, allocations: 0 / 0.5664 GB, free: 10.48 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.001291/0.1509, allocations: 0.6039 MB / 0.567 GB, free: 9.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1509, allocations: 8.031 kB / 0.567 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.271e-05/0.151, allocations: 62.72 kB / 0.5671 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1512, allocations: 24.84 kB / 0.5671 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.1516, allocations: 232 kB / 0.5673 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.1518, allocations: 119.9 kB / 0.5674 GB, free: 9.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.1519, allocations: 28.12 kB / 0.5675 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.1525, allocations: 323.6 kB / 0.5678 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1525, allocations: 4 kB / 0.5678 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.1526, allocations: 12 kB / 0.5678 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.1526, allocations: 4 kB / 0.5678 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009123/0.1535, allocations: 0.7391 MB / 0.5685 GB, free: 8.191 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.001654/0.1551, allocations: 1.304 MB / 0.5698 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.1556, allocations: 155.7 kB / 0.5699 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.1557, allocations: 77.48 kB / 0.57 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003296/0.159, allocations: 2.814 MB / 0.5728 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/0.1591, allocations: 38.5 kB / 0.5728 GB, free: 3.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/0.1591, allocations: 4 kB / 0.5728 GB, free: 3.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003845/0.1595, allocations: 121.3 kB / 0.5729 GB, free: 3.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1595, allocations: 51.41 kB / 0.573 GB, free: 2.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.1598, allocations: 231.9 kB / 0.5732 GB, free: 2.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1598, allocations: 33.62 kB / 0.5732 GB, free: 2.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.16, allocations: 219.4 kB / 0.5734 GB, free: 2.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.1601, allocations: 51.62 kB / 0.5735 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1602, allocations: 82.08 kB / 0.5736 GB, free: 2.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1604, allocations: 326.8 kB / 0.5739 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1605, allocations: 44.84 kB / 0.5739 GB, free: 1.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.1608, allocations: 347.2 kB / 0.5742 GB, free: 1.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.1614, allocations: 448.6 kB / 0.5747 GB, free: 0.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.1614, allocations: 4 kB / 0.5747 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006376/0.1621, allocations: 381.5 kB / 0.575 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.1621, allocations: 12 kB / 0.5751 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1621, allocations: 8 kB / 0.5751 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.1621, allocations: 19.94 kB / 0.5751 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.1624, allocations: 99.83 kB / 0.5752 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.1624, allocations: 27.86 kB / 0.5752 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1627, allocations: 51.56 kB / 0.5753 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.1627, allocations: 28.38 kB / 0.5753 GB, free: 256 kB / 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.0001727/0.1629, allocations: 149.7 kB / 0.5754 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.163, allocations: 15.91 kB / 0.5754 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.1633, allocations: 156.4 kB / 0.5756 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.1633, allocations: 4 kB / 0.5756 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1633, allocations: 0 / 0.5756 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1633, allocations: 0 / 0.5756 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.164, allocations: 408.9 kB / 0.576 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.164, allocations: 0 / 0.576 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.164, allocations: 19.92 kB / 0.576 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.164, allocations: 4.094 kB / 0.576 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.164, allocations: 4 kB / 0.576 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1641, allocations: 0 / 0.576 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1641, allocations: 0 / 0.576 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1643, allocations: 209.8 kB / 0.5762 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1644, allocations: 93.02 kB / 0.5763 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.1645, allocations: 15.95 kB / 0.5763 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1646, allocations: 11.98 kB / 0.5763 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.1646, allocations: 7.938 kB / 0.5763 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1647, allocations: 11.98 kB / 0.5763 GB, free: 15.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.1648, allocations: 148.5 kB / 0.5765 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1648, allocations: 0 / 0.5765 GB, free: 14.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005716/0.1654, allocations: 95.86 kB / 0.5766 GB, free: 14.79 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.0008114/0.1662, allocations: 0.7968 MB / 0.5774 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.1666, allocations: 162.2 kB / 0.5775 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1666, allocations: 4.188 kB / 0.5775 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.1666, allocations: 20 kB / 0.5775 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1671, allocations: 54.23 kB / 0.5776 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.1707, allocations: 2.8 MB / 0.5803 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1711, allocations: 0.7285 MB / 0.581 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.1713, allocations: 58.91 kB / 0.5811 GB, free: 9.727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.1714, allocations: 59.42 kB / 0.5811 GB, free: 9.668 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1714, allocations: 3.938 kB / 0.5811 GB, free: 9.664 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.2007, allocations: 5.244 MB / 0.5863 GB, free: 4.539 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.32, allocations: 12.88 kB / 0.5863 GB, free: 4.527 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.615241971798241]