Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009077, allocations: 94.27 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009786/0.0009788, allocations: 178.3 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 224 MB, free: 13.04 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004497, allocations: 12 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1065, allocations: 47.58 MB / 328.3 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01062/0.1172, allocations: 10.61 MB / 338.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.119, allocations: 1.415 MB / 340.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1192, allocations: 7.938 kB / 340.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.1197, allocations: 139.3 kB / 340.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1201, allocations: 207.4 kB / 340.7 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.1206, allocations: 231.4 kB / 340.9 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.1211, allocations: 459.1 kB / 341.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1213, allocations: 68.69 kB / 341.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005653/0.1219, allocations: 346.9 kB / 341.8 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1221, allocations: 167.4 kB / 341.9 MB, free: 6.406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1222, allocations: 16 kB / 342 MB, free: 6.391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1223, allocations: 16 kB / 342 MB, free: 6.375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.1224, allocations: 79.72 kB / 342.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.1224, allocations: 85.58 kB / 342.1 MB, free: 6.207 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1228, allocations: 327.4 kB / 342.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1228, allocations: 0 / 342.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1228, allocations: 0 / 342.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1228, allocations: 0 / 342.5 MB, free: 5.887 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008201/0.1236, allocations: 0.5262 MB / 343 MB, free: 5.312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1236, allocations: 12.03 kB / 343 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.1239, allocations: 35.62 kB / 343 MB, free: 5.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1243, allocations: 278.5 kB / 343.3 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.1243, allocations: 16.56 kB / 343.3 MB, free: 4.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.1243, allocations: 27.98 kB / 343.3 MB, free: 4.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.1248, allocations: 307.6 kB / 343.6 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1248, allocations: 0 / 343.6 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.1248, allocations: 12 kB / 343.7 MB, free: 4.566 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1249, allocations: 8 kB / 343.7 MB, free: 4.559 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1251, allocations: 193.6 kB / 343.9 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.1267, allocations: 1.432 MB / 345.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.127, allocations: 179.2 kB / 345.5 MB, free: 2.641 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.127, allocations: 4.188 kB / 345.5 MB, free: 2.637 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1271, allocations: 42.69 kB / 345.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.1271, allocations: 0 / 345.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002596/0.1297, allocations: 1.006 MB / 346.5 MB, free: 1.504 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1297, allocations: 51.41 kB / 346.6 MB, free: 1.441 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.13, allocations: 270.5 kB / 346.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.13, allocations: 25.7 kB / 346.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1302, allocations: 176.2 kB / 347 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.1302, allocations: 98.64 kB / 347.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.1303, allocations: 4 kB / 347.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1304, allocations: 338.8 kB / 347.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1305, allocations: 87.75 kB / 347.5 MB, free: 444 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1307, allocations: 174.9 kB / 347.7 MB, free: 228 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.1309, allocations: 115.9 kB / 347.8 MB, free: 112 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1309, allocations: 3.938 kB / 347.8 MB, free: 108 kB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006313/0.1316, allocations: 378.7 kB / 348.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1316, allocations: 4 kB / 348.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1316, allocations: 4 kB / 348.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.1319, allocations: 66.03 kB / 348.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.1322, allocations: 71.91 kB / 348.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.1343, allocations: 2.693 MB / 351 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.1345, allocations: 24.08 kB / 351.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1346, allocations: 16 kB / 351.1 MB, free: 12.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.1347, allocations: 149.7 kB / 351.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.1348, allocations: 27.7 kB / 351.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/0.1349, allocations: 38.19 kB / 351.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1349, allocations: 8.234 kB / 351.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1349, allocations: 4 kB / 351.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006197/0.1355, allocations: 0.5632 MB / 351.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1365, allocations: 0.6989 MB / 352.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1366, allocations: 4.031 kB / 352.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.1368, allocations: 47.91 kB / 352.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.137, allocations: 60.69 kB / 352.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.1371, allocations: 8 kB / 352.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.1382, allocations: 1.401 MB / 354.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1382, allocations: 0 / 354.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.1389, allocations: 486.3 kB / 354.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.139, allocations: 104.8 kB / 354.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.139, allocations: 8 kB / 354.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1393, allocations: 19.98 kB / 354.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.1393, allocations: 11.98 kB / 354.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.1394, allocations: 15.98 kB / 354.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1395, allocations: 178 kB / 354.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1395, allocations: 0 / 354.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000432/0.14, allocations: 92 kB / 355 MB, free: 8.328 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.1401, allocations: 111.2 kB / 355.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.1408, allocations: 461.8 kB / 355.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1408, allocations: 0 / 355.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.1412, allocations: 243.3 kB / 355.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.1421, allocations: 156.6 kB / 355.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1432, allocations: 0.8204 MB / 356.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1436, allocations: 0.7762 MB / 357.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.1438, allocations: 50.95 kB / 357.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.1439, allocations: 23.44 kB / 357.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1439, allocations: 0 / 357.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of Templates: time 0.009333/0.1533, allocations: 5.256 MB / 362.9 MB, free: 376 kB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches