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.00212/0.00212, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001736/0.001736, allocations: 213 kB / 23 MB, free: 5.012 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.371/1.371, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2112/0.2112, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] 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.002163/0.002163, allocations: 74.7 kB / 467.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1137, allocations: 61.03 MB / 0.5162 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006277/0.1199, allocations: 4.598 MB / 0.5207 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004798/0.1247, allocations: 4.041 MB / 0.5246 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.1248, allocations: 0 / 0.5246 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1251, allocations: 55.61 kB / 0.5247 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.1268, allocations: 0.7422 MB / 0.5254 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1271, allocations: 135.7 kB / 0.5255 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.1277, allocations: 386.1 kB / 0.5259 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.1277, allocations: 9.812 kB / 0.5259 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1279, allocations: 135.5 kB / 0.526 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1282, allocations: 155.4 kB / 0.5262 GB, free: 13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.1282, allocations: 12 kB / 0.5262 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009708/0.1292, allocations: 447.4 kB / 0.5266 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.1293, allocations: 47.81 kB / 0.5267 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1294, allocations: 103.5 kB / 0.5268 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.1302, allocations: 470.8 kB / 0.5272 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1302, allocations: 0 / 0.5272 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1302, allocations: 0 / 0.5272 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1302, allocations: 3.938 kB / 0.5272 GB, free: 11.94 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.001121/0.1313, allocations: 0.5325 MB / 0.5277 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1313, allocations: 8.031 kB / 0.5277 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.1314, allocations: 62.67 kB / 0.5278 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1315, allocations: 28.8 kB / 0.5278 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.1319, allocations: 178.2 kB / 0.528 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.1321, allocations: 222.7 kB / 0.5282 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.1321, allocations: 28.12 kB / 0.5282 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.1326, allocations: 326.9 kB / 0.5286 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1327, allocations: 7.938 kB / 0.5286 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1327, allocations: 12 kB / 0.5286 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.1327, allocations: 8 kB / 0.5286 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008694/0.1336, allocations: 0.7547 MB / 0.5293 GB, free: 9.648 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.001484/0.1351, allocations: 1.276 MB / 0.5306 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.1354, allocations: 163.7 kB / 0.5307 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1355, allocations: 77.48 kB / 0.5308 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.1371, allocations: 0.7426 MB / 0.5315 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1371, allocations: 30.56 kB / 0.5315 GB, free: 7.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.1371, allocations: 0 / 0.5315 GB, free: 7.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002918/0.1374, allocations: 125.4 kB / 0.5317 GB, free: 7.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1375, allocations: 55.41 kB / 0.5317 GB, free: 7.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1377, allocations: 223.9 kB / 0.5319 GB, free: 6.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1377, allocations: 25.7 kB / 0.532 GB, free: 6.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1379, allocations: 231.4 kB / 0.5322 GB, free: 6.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.1379, allocations: 43.69 kB / 0.5322 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.138, allocations: 82.03 kB / 0.5323 GB, free: 6.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1381, allocations: 330.8 kB / 0.5326 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.1382, allocations: 48.84 kB / 0.5327 GB, free: 6.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.1385, allocations: 347.2 kB / 0.533 GB, free: 5.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.139, allocations: 444.6 kB / 0.5334 GB, free: 4.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.139, allocations: 4 kB / 0.5334 GB, free: 4.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005775/0.1396, allocations: 381.5 kB / 0.5338 GB, free: 4.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1396, allocations: 8 kB / 0.5338 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1396, allocations: 12 kB / 0.5338 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.1397, allocations: 19.94 kB / 0.5338 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.1399, allocations: 95.83 kB / 0.5339 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.631e-05/0.1399, allocations: 15.94 kB / 0.5339 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.1402, allocations: 52.09 kB / 0.534 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.1402, allocations: 39.92 kB / 0.534 GB, free: 4.332 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.000144/0.1403, allocations: 153.6 kB / 0.5342 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.1404, allocations: 15.91 kB / 0.5342 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1407, allocations: 144.5 kB / 0.5343 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.1407, allocations: 4 kB / 0.5343 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1407, allocations: 3.984 kB / 0.5343 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1407, allocations: 0 / 0.5343 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.1412, allocations: 387.9 kB / 0.5347 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1412, allocations: 0 / 0.5347 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.1412, allocations: 20.03 kB / 0.5347 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1412, allocations: 0 / 0.5347 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1412, allocations: 7.938 kB / 0.5347 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1412, allocations: 0 / 0.5347 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1412, allocations: 3.984 kB / 0.5347 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1414, allocations: 205.9 kB / 0.5349 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1415, allocations: 23.84 kB / 0.5349 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1415, allocations: 7.938 kB / 0.5349 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1417, allocations: 4 kB / 0.535 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1417, allocations: 7.984 kB / 0.535 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1417, allocations: 4 kB / 0.535 GB, free: 3.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1418, allocations: 156.7 kB / 0.5351 GB, free: 3.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1418, allocations: 4 kB / 0.5351 GB, free: 3.094 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.1423, allocations: 95.86 kB / 0.5352 GB, free: 3 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.0006649/0.143, allocations: 0.8005 MB / 0.536 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.1433, allocations: 166.3 kB / 0.5361 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1433, allocations: 4.125 kB / 0.5362 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.1433, allocations: 15.94 kB / 0.5362 GB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.1437, allocations: 44.39 kB / 0.5362 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1878/0.3315, allocations: 2.801 MB / 0.5389 GB, free: 27.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.3316, allocations: 0.7254 MB / 0.5397 GB, free: 26.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.3318, allocations: 49.11 kB / 0.5397 GB, free: 26.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.3319, allocations: 60.8 kB / 0.5398 GB, free: 26.44 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3319, allocations: 2.188 kB / 0.5398 GB, free: 26.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.3649, allocations: 5.572 MB / 0.5452 GB, free: 25.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.34, allocations: 20.64 kB / 0.5452 GB, free: 25.73 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.235600838204846]