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.001419/0.001419, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001507/0.001507, allocations: 215.3 kB / 23.78 MB, free: 4.551 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.416/1.416, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2121/0.2121, allocations: 44.27 MB / 331.1 MB, free: 9.406 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",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.003253/0.003253, allocations: 75.91 kB / 468.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.148, allocations: 61.03 MB / 0.5169 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007273/0.1553, allocations: 4.263 MB / 0.5211 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.1602, allocations: 3.582 MB / 0.5246 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.1604, allocations: 4 kB / 0.5246 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1607, allocations: 55.59 kB / 0.5247 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.1629, allocations: 0.7383 MB / 0.5254 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1633, allocations: 147.6 kB / 0.5255 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006863/0.1639, allocations: 382.1 kB / 0.5259 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.586e-05/0.164, allocations: 13.8 kB / 0.5259 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.1643, allocations: 139.5 kB / 0.526 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.1646, allocations: 151.5 kB / 0.5262 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.1647, allocations: 8 kB / 0.5262 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.1657, allocations: 399.4 kB / 0.5266 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1658, allocations: 39.89 kB / 0.5266 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.166, allocations: 95.58 kB / 0.5267 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1671, allocations: 462.7 kB / 0.5271 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1671, allocations: 0 / 0.5271 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1671, allocations: 0 / 0.5271 GB, free: 12.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1671, allocations: 0 / 0.5271 GB, free: 12.68 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.001279/0.1684, allocations: 0.5324 MB / 0.5277 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1684, allocations: 8.031 kB / 0.5277 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.221e-05/0.1684, allocations: 8.688 kB / 0.5277 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.1685, allocations: 58.73 kB / 0.5277 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.1687, allocations: 36.78 kB / 0.5278 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.169, allocations: 162.2 kB / 0.5279 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.1693, allocations: 230.7 kB / 0.5281 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.1693, allocations: 31.92 kB / 0.5282 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.17, allocations: 481.1 kB / 0.5286 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1701, allocations: 7.938 kB / 0.5286 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.1701, allocations: 4 kB / 0.5286 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.1701, allocations: 12 kB / 0.5287 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.171, allocations: 0.7508 MB / 0.5294 GB, free: 10.2 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.001744/0.1728, allocations: 1.092 MB / 0.5305 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.1732, allocations: 155.7 kB / 0.5306 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1733, allocations: 77.48 kB / 0.5307 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/0.1751, allocations: 0.7193 MB / 0.5314 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1752, allocations: 34.56 kB / 0.5314 GB, free: 8.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.1752, allocations: 0 / 0.5314 GB, free: 8.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003284/0.1755, allocations: 121.4 kB / 0.5315 GB, free: 7.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1756, allocations: 55.41 kB / 0.5316 GB, free: 7.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1758, allocations: 219.9 kB / 0.5318 GB, free: 7.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.1759, allocations: 29.7 kB / 0.5318 GB, free: 7.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.176, allocations: 231.4 kB / 0.532 GB, free: 7.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.1761, allocations: 47.67 kB / 0.5321 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1762, allocations: 86.03 kB / 0.5322 GB, free: 7.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1764, allocations: 326.8 kB / 0.5325 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1765, allocations: 44.84 kB / 0.5325 GB, free: 6.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.1768, allocations: 347.2 kB / 0.5329 GB, free: 6.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.1775, allocations: 452.5 kB / 0.5333 GB, free: 5.754 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1775, allocations: 0 / 0.5333 GB, free: 5.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006342/0.1781, allocations: 381.2 kB / 0.5336 GB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1781, allocations: 9.875 kB / 0.5337 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.1781, allocations: 15.94 kB / 0.5337 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.1782, allocations: 12.75 kB / 0.5337 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.1784, allocations: 99.83 kB / 0.5338 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.1784, allocations: 23.92 kB / 0.5338 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.1787, allocations: 55.62 kB / 0.5339 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.1787, allocations: 31.94 kB / 0.5339 GB, free: 5.133 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.000194/0.1789, allocations: 149.6 kB / 0.534 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.179, allocations: 15.91 kB / 0.534 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.1794, allocations: 148.5 kB / 0.5342 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.1794, allocations: 4 kB / 0.5342 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1794, allocations: 0 / 0.5342 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1794, allocations: 0 / 0.5342 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.18, allocations: 391.8 kB / 0.5346 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.18, allocations: 0 / 0.5346 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.1801, allocations: 15.94 kB / 0.5346 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.1801, allocations: 4.125 kB / 0.5346 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1801, allocations: 8 kB / 0.5346 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1801, allocations: 4.062 kB / 0.5346 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1801, allocations: 0 / 0.5346 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1804, allocations: 205.9 kB / 0.5348 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.1804, allocations: 19.86 kB / 0.5348 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.1805, allocations: 15.92 kB / 0.5348 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1806, allocations: 0 / 0.5348 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.1807, allocations: 7.984 kB / 0.5348 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1807, allocations: 4 kB / 0.5348 GB, free: 4.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1808, allocations: 156.5 kB / 0.535 GB, free: 3.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1808, allocations: 4 kB / 0.535 GB, free: 3.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005339/0.1814, allocations: 91.94 kB / 0.5351 GB, free: 3.805 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.0008383/0.1822, allocations: 0.7968 MB / 0.5359 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.1827, allocations: 160.7 kB / 0.536 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1827, allocations: 0 / 0.536 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/0.1828, allocations: 29.67 kB / 0.536 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.1835, allocations: 40.58 kB / 0.5361 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2155/0.399, allocations: 2.809 MB / 0.5388 GB, free: 28.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.3991, allocations: 114.2 kB / 0.5389 GB, free: 27.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.3993, allocations: 54.41 kB / 0.539 GB, free: 27.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.3994, allocations: 57.69 kB / 0.539 GB, free: 27.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3994, allocations: 0.5312 kB / 0.539 GB, free: 27.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.4258, allocations: 5.641 MB / 0.5445 GB, free: 27.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 7.031 kB / 0.5446 GB, free: 27.09 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.033294285065494]