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.001822/0.001822, allocations: 109 kB / 20.48 MB, free: 1.492 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.003086/0.003086, allocations: 213.7 kB / 23.79 MB, free: 4.707 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.48/1.48, allocations: 207.6 MB / 234.6 MB, free: 10 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.2278/0.2278, allocations: 44.24 MB / 331.1 MB, free: 9.523 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.002216/0.002216, allocations: 68.38 kB / 468.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1323, allocations: 61.04 MB / 0.517 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006432/0.1388, allocations: 4.605 MB / 0.5214 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.1438, allocations: 4.029 MB / 0.5254 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1439, allocations: 4 kB / 0.5254 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1443, allocations: 59.59 kB / 0.5254 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.1466, allocations: 0.7344 MB / 0.5262 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.147, allocations: 139.7 kB / 0.5263 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006603/0.1476, allocations: 382.1 kB / 0.5267 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.1477, allocations: 5.812 kB / 0.5267 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.1479, allocations: 147.5 kB / 0.5268 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.1482, allocations: 151.4 kB / 0.5269 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.1482, allocations: 12 kB / 0.527 GB, free: 13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1494, allocations: 447.4 kB / 0.5274 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.1494, allocations: 39.83 kB / 0.5274 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1496, allocations: 111.5 kB / 0.5275 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008023/0.1504, allocations: 470.8 kB / 0.528 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1504, allocations: 3.938 kB / 0.528 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1504, allocations: 0 / 0.528 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1504, allocations: 4 kB / 0.528 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.001188/0.1516, allocations: 0.5246 MB / 0.5285 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1516, allocations: 8.031 kB / 0.5285 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.991e-05/0.1516, allocations: 12.69 kB / 0.5285 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.1517, allocations: 58.73 kB / 0.5286 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1519, allocations: 36.72 kB / 0.5286 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1522, allocations: 162.3 kB / 0.5288 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.1524, allocations: 226.7 kB / 0.529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.1524, allocations: 31.94 kB / 0.529 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.153, allocations: 338.8 kB / 0.5293 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.153, allocations: 0 / 0.5293 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.153, allocations: 12 kB / 0.5293 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.1531, allocations: 8 kB / 0.5294 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000888/0.1539, allocations: 0.7547 MB / 0.5301 GB, free: 9.645 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.001568/0.1555, allocations: 1.28 MB / 0.5313 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.1559, allocations: 167.7 kB / 0.5315 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.156, allocations: 77.48 kB / 0.5316 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/0.1576, allocations: 0.731 MB / 0.5323 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1577, allocations: 30.56 kB / 0.5323 GB, free: 7.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.1577, allocations: 4 kB / 0.5323 GB, free: 7.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003297/0.158, allocations: 121.4 kB / 0.5324 GB, free: 7.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.158, allocations: 55.39 kB / 0.5325 GB, free: 7.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1583, allocations: 219.9 kB / 0.5327 GB, free: 6.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1583, allocations: 25.7 kB / 0.5327 GB, free: 6.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1585, allocations: 235.4 kB / 0.5329 GB, free: 6.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1585, allocations: 43.67 kB / 0.533 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.1586, allocations: 86.03 kB / 0.5331 GB, free: 6.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1588, allocations: 330.8 kB / 0.5334 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.1588, allocations: 48.84 kB / 0.5334 GB, free: 6.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.1592, allocations: 339.2 kB / 0.5338 GB, free: 5.539 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.1598, allocations: 452.5 kB / 0.5342 GB, free: 4.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1598, allocations: 0 / 0.5342 GB, free: 4.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005956/0.1604, allocations: 385.2 kB / 0.5346 GB, free: 4.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.1604, allocations: 8 kB / 0.5346 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.1604, allocations: 15.94 kB / 0.5346 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.1604, allocations: 12 kB / 0.5346 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.1607, allocations: 100.5 kB / 0.5347 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.1607, allocations: 23.92 kB / 0.5347 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.161, allocations: 51.62 kB / 0.5348 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.161, allocations: 28 kB / 0.5348 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.0001568/0.1612, allocations: 157.5 kB / 0.5349 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.1612, allocations: 15.91 kB / 0.535 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.1615, allocations: 152.9 kB / 0.5351 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.1616, allocations: 0 / 0.5351 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1616, allocations: 4 kB / 0.5351 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1616, allocations: 0 / 0.5351 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.1622, allocations: 387.9 kB / 0.5355 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1622, allocations: 0 / 0.5355 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.1622, allocations: 20.05 kB / 0.5355 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1622, allocations: 3.938 kB / 0.5355 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1622, allocations: 0 / 0.5355 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1622, allocations: 7.938 kB / 0.5355 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1622, allocations: 0 / 0.5355 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1625, allocations: 206 kB / 0.5357 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.1625, allocations: 23.84 kB / 0.5357 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.1626, allocations: 7.938 kB / 0.5357 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1627, allocations: 7.984 kB / 0.5357 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.1627, allocations: 4 kB / 0.5357 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1627, allocations: 7.984 kB / 0.5357 GB, free: 3.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.1629, allocations: 156.5 kB / 0.5359 GB, free: 3.086 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1629, allocations: 4 kB / 0.5359 GB, free: 3.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005092/0.1634, allocations: 87.94 kB / 0.536 GB, free: 2.996 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.000761/0.1642, allocations: 0.8007 MB / 0.5368 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.1645, allocations: 162 kB / 0.5369 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1645, allocations: 4 kB / 0.5369 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.1646, allocations: 19.92 kB / 0.5369 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.165, allocations: 48.33 kB / 0.537 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2175/0.3825, allocations: 2.794 MB / 0.5397 GB, free: 27.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3827, allocations: 0.7262 MB / 0.5404 GB, free: 26.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.3829, allocations: 55.75 kB / 0.5405 GB, free: 26.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.226e-05/0.383, allocations: 62.66 kB / 0.5405 GB, free: 26.43 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.383, allocations: 0 / 0.5405 GB, free: 26.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.4124, allocations: 5.601 MB / 0.546 GB, free: 25.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.79, allocations: 2.844 kB / 0.546 GB, free: 25.71 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.055656225013081]