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.001076/0.001077, allocations: 110.7 kB / 17.28 MB, free: 6.199 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.001027/0.001027, allocations: 185.3 kB / 18.2 MB, free: 5.281 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.337/1.337, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001149/0.001149, allocations: 48.41 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1049, allocations: 46.64 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01651/0.1215, allocations: 15.81 MB / 342.6 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003484/0.125, allocations: 1.908 MB / 344.5 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.1254, allocations: 0 / 344.5 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.126, allocations: 147.2 kB / 344.7 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.1265, allocations: 298.4 kB / 345 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.1271, allocations: 259.6 kB / 345.2 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000766/0.1279, allocations: 0.8446 MB / 346.1 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1281, allocations: 96.66 kB / 346.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009111/0.129, allocations: 0.502 MB / 346.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.1294, allocations: 290.9 kB / 346.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.1294, allocations: 28 kB / 347 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1295, allocations: 39.98 kB / 347 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1296, allocations: 87.73 kB / 347.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.1298, allocations: 179.3 kB / 347.3 MB, free: 236 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.1303, allocations: 430.9 kB / 347.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1303, allocations: 0 / 347.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1303, allocations: 0 / 347.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1303, allocations: 4 kB / 347.7 MB, free: 15.8 MB / 302.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.000855/0.1312, allocations: 0.5886 MB / 348.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1312, allocations: 12.03 kB / 348.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.1315, allocations: 44.66 kB / 348.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1318, allocations: 271.8 kB / 348.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1318, allocations: 20.94 kB / 348.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.1319, allocations: 24.38 kB / 348.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.1323, allocations: 307.8 kB / 348.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1324, allocations: 12 kB / 348.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.1324, allocations: 8 kB / 349 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1324, allocations: 8 kB / 349 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.1327, allocations: 201.5 kB / 349.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.1343, allocations: 1.428 MB / 350.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.1346, allocations: 178.6 kB / 350.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1348, allocations: 92.77 kB / 350.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1348, allocations: 4 kB / 350.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1348, allocations: 34.56 kB / 350.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.1348, allocations: 4 kB / 350.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002502/0.1374, allocations: 0.9959 MB / 351.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1374, allocations: 51.41 kB / 351.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.1377, allocations: 262.6 kB / 352.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1377, allocations: 29.7 kB / 352.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1378, allocations: 176.2 kB / 352.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.1379, allocations: 98.64 kB / 352.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.138, allocations: 73.39 kB / 352.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1382, allocations: 334.8 kB / 352.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1383, allocations: 83.97 kB / 353 MB, free: 10.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1385, allocations: 182.8 kB / 353.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.1389, allocations: 294.9 kB / 353.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1389, allocations: 0 / 353.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000619/0.1395, allocations: 378.7 kB / 353.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1395, allocations: 4 kB / 353.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1395, allocations: 4 kB / 353.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.1398, allocations: 69.98 kB / 353.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.1401, allocations: 63.91 kB / 354 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.1422, allocations: 2.894 MB / 356.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.1425, allocations: 19.92 kB / 356.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.1425, allocations: 16 kB / 356.9 MB, free: 5.848 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.1427, allocations: 147.1 kB / 357 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.1427, allocations: 23.78 kB / 357 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.1428, allocations: 42.17 kB / 357.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1428, allocations: 4 kB / 357.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1428, allocations: 0 / 357.1 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005803/0.1434, allocations: 0.5708 MB / 357.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.1444, allocations: 0.7028 MB / 358.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1444, allocations: 0 / 358.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.1446, allocations: 47.86 kB / 358.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/0.1449, allocations: 52.78 kB / 358.5 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1449, allocations: 4 kB / 358.5 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.1461, allocations: 1.496 MB / 360 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1461, allocations: 0 / 360 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.1468, allocations: 473 kB / 360.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.1469, allocations: 96.86 kB / 360.5 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.147, allocations: 12.12 kB / 360.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.1472, allocations: 19.83 kB / 360.6 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1473, allocations: 15.98 kB / 360.6 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.1473, allocations: 11.98 kB / 360.6 MB, free: 1.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1475, allocations: 193.9 kB / 360.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1475, allocations: 0 / 360.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.1479, allocations: 88 kB / 360.9 MB, free: 1.527 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.148, allocations: 103.2 kB / 361 MB, free: 1.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008042/0.1488, allocations: 494 kB / 361.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1488, allocations: 0 / 361.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.1492, allocations: 238.5 kB / 361.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.1502, allocations: 164.2 kB / 361.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1514, allocations: 0.7798 MB / 362.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1518, allocations: 0.7644 MB / 363.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.1521, allocations: 54.94 kB / 363.4 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.1522, allocations: 23.44 kB / 363.5 MB, free: 14.83 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1522, allocations: 4 kB / 363.5 MB, free: 14.82 MB / 318.1 MB Notification: Performance of Templates: time 0.009822/0.162, allocations: 5.66 MB / 369.1 MB, free: 9.168 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (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) 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