Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001446/0.001446, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001982/0.001982, allocations: 223.2 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 207.7 MB / 233.8 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2541/0.2541, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002631/0.002631, allocations: 71.89 kB / 467.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1245, allocations: 61.04 MB / 0.5162 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006774/0.1313, allocations: 4.26 MB / 0.5203 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005004/0.1363, allocations: 3.597 MB / 0.5239 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.1365, allocations: 0 / 0.5239 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.1369, allocations: 47.61 kB / 0.5239 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.1392, allocations: 0.7422 MB / 0.5246 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1395, allocations: 135.7 kB / 0.5248 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006686/0.1402, allocations: 378.1 kB / 0.5251 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.1403, allocations: 17.73 kB / 0.5251 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.1406, allocations: 151.5 kB / 0.5253 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.141, allocations: 143.5 kB / 0.5254 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.141, allocations: 8 kB / 0.5254 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.1421, allocations: 379.5 kB / 0.5258 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1422, allocations: 43.77 kB / 0.5258 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1424, allocations: 99.58 kB / 0.5259 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009957/0.1434, allocations: 458.8 kB / 0.5264 GB, free: 12.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1434, allocations: 0 / 0.5264 GB, free: 12.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1434, allocations: 4 kB / 0.5264 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1434, allocations: 0 / 0.5264 GB, free: 12.66 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.001293/0.1447, allocations: 0.5285 MB / 0.5269 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1447, allocations: 8.031 kB / 0.5269 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.368e-05/0.1448, allocations: 58.72 kB / 0.5269 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.145, allocations: 36.78 kB / 0.527 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.1454, allocations: 170.3 kB / 0.5271 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.1456, allocations: 222.7 kB / 0.5274 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1456, allocations: 28.12 kB / 0.5274 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.1463, allocations: 493 kB / 0.5279 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1463, allocations: 0 / 0.5279 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.1464, allocations: 15.98 kB / 0.5279 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.1464, allocations: 4 kB / 0.5279 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000963/0.1473, allocations: 0.7195 MB / 0.5286 GB, free: 10.21 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.001716/0.1491, allocations: 1.089 MB / 0.5296 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.1495, allocations: 151.7 kB / 0.5298 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1497, allocations: 81.47 kB / 0.5299 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.1515, allocations: 0.7193 MB / 0.5306 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1515, allocations: 34.56 kB / 0.5306 GB, free: 8.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.1515, allocations: 0 / 0.5306 GB, free: 8.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003619/0.1519, allocations: 121.4 kB / 0.5307 GB, free: 7.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.1519, allocations: 59.41 kB / 0.5308 GB, free: 7.844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.1522, allocations: 239.7 kB / 0.531 GB, free: 7.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1522, allocations: 25.7 kB / 0.531 GB, free: 7.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1524, allocations: 219.5 kB / 0.5312 GB, free: 7.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.1525, allocations: 55.56 kB / 0.5313 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1526, allocations: 78.08 kB / 0.5314 GB, free: 7.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1527, allocations: 326.8 kB / 0.5317 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1528, allocations: 52.83 kB / 0.5317 GB, free: 6.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.1532, allocations: 343.2 kB / 0.532 GB, free: 6.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.1537, allocations: 440.6 kB / 0.5325 GB, free: 5.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.1537, allocations: 0 / 0.5325 GB, free: 5.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006544/0.1544, allocations: 393.1 kB / 0.5328 GB, free: 5.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.1544, allocations: 11.94 kB / 0.5329 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.1544, allocations: 15.94 kB / 0.5329 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/0.1545, allocations: 16.75 kB / 0.5329 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.1547, allocations: 99.83 kB / 0.533 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/0.1547, allocations: 27.91 kB / 0.533 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.155, allocations: 51.62 kB / 0.5331 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.155, allocations: 28 kB / 0.5331 GB, free: 5.137 MB / 414.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.0001437/0.1552, allocations: 149.7 kB / 0.5332 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.1552, allocations: 23.83 kB / 0.5332 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.1555, allocations: 148.4 kB / 0.5334 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.1555, allocations: 4 kB / 0.5334 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1556, allocations: 0 / 0.5334 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1556, allocations: 0 / 0.5334 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.1561, allocations: 383.9 kB / 0.5338 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1561, allocations: 4.062 kB / 0.5338 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.1562, allocations: 12 kB / 0.5338 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1562, allocations: 4.094 kB / 0.5338 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1562, allocations: 4 kB / 0.5338 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1562, allocations: 3.938 kB / 0.5338 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1562, allocations: 0 / 0.5338 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1564, allocations: 209.9 kB / 0.534 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.1565, allocations: 23.84 kB / 0.534 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1565, allocations: 7.938 kB / 0.534 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1567, allocations: 0 / 0.534 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1567, allocations: 11.98 kB / 0.534 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1567, allocations: 4 kB / 0.534 GB, free: 4.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1569, allocations: 160.5 kB / 0.5342 GB, free: 3.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1569, allocations: 0 / 0.5342 GB, free: 3.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005382/0.1574, allocations: 91.88 kB / 0.5343 GB, free: 3.809 MB / 414.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.0007595/0.1582, allocations: 0.8008 MB / 0.5351 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1585, allocations: 168.4 kB / 0.5352 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1585, allocations: 2 kB / 0.5352 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.1586, allocations: 23.92 kB / 0.5352 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.159, allocations: 40.59 kB / 0.5353 GB, free: 2.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2387/0.3977, allocations: 2.795 MB / 0.538 GB, free: 27.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.3979, allocations: 114.3 kB / 0.5381 GB, free: 27.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.3981, allocations: 55.11 kB / 0.5382 GB, free: 27.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.3982, allocations: 61.48 kB / 0.5382 GB, free: 27.91 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3982, allocations: 0 / 0.5382 GB, free: 27.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.4329, allocations: 5.873 MB / 0.544 GB, free: 26.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.82, allocations: 7.484 kB / 0.544 GB, free: 26.68 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.573543874081224]