Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009125/0.0009125, allocations: 101.5 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007439/0.0007439, allocations: 39.94 kB / 327.2 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1914, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03023/0.2216, allocations: 41.07 MB / 414.9 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.2234, allocations: 2.047 MB / 416.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.2236, allocations: 11.94 kB / 417 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.2241, allocations: 143.3 kB / 417.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.2245, allocations: 298.4 kB / 417.4 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.2249, allocations: 265.4 kB / 417.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007097/0.2256, allocations: 1.301 MB / 419 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2258, allocations: 72.67 kB / 419 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08564/0.3114, allocations: 42.97 MB / 462 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.312, allocations: 286.8 kB / 462.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.3121, allocations: 16 kB / 462.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.3122, allocations: 31.98 kB / 462.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.3123, allocations: 75.72 kB / 462.4 MB, free: 8.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.3125, allocations: 175.2 kB / 462.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.3129, allocations: 422.6 kB / 463 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3129, allocations: 0 / 463 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3129, allocations: 0 / 463 MB, free: 7.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3129, allocations: 0 / 463 MB, free: 7.75 MB / 346.7 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.0008794/0.3138, allocations: 0.5887 MB / 463.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3138, allocations: 8.031 kB / 463.6 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.3141, allocations: 44.55 kB / 463.6 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3144, allocations: 271.8 kB / 463.9 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3144, allocations: 20.94 kB / 463.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.3145, allocations: 24.38 kB / 463.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.3149, allocations: 303.6 kB / 464.2 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3149, allocations: 7.906 kB / 464.2 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.315, allocations: 12 kB / 464.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.315, allocations: 8 kB / 464.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.3153, allocations: 201.5 kB / 464.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3167, allocations: 1.424 MB / 465.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.317, allocations: 182.5 kB / 466 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3171, allocations: 88.92 kB / 466.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3172, allocations: 4 kB / 466.1 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3172, allocations: 30.56 kB / 466.2 MB, free: 4.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.3172, allocations: 0 / 466.2 MB, free: 4.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.002269/0.3195, allocations: 1.01 MB / 467.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.3195, allocations: 59.41 kB / 467.2 MB, free: 3.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.3198, allocations: 258.5 kB / 467.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3198, allocations: 33.7 kB / 467.5 MB, free: 2.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3199, allocations: 176.2 kB / 467.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.32, allocations: 90.73 kB / 467.8 MB, free: 2.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.3201, allocations: 77.27 kB / 467.9 MB, free: 2.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3202, allocations: 338.8 kB / 468.2 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3203, allocations: 83.97 kB / 468.3 MB, free: 2.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3206, allocations: 178.9 kB / 468.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.3209, allocations: 295.5 kB / 468.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3209, allocations: 3.938 kB / 468.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006243/0.3216, allocations: 382.8 kB / 469.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3216, allocations: 8 kB / 469.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3216, allocations: 4 kB / 469.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.3218, allocations: 61.67 kB / 469.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.3221, allocations: 67.91 kB / 469.3 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.3239, allocations: 2.677 MB / 471.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3242, allocations: 20.09 kB / 471.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.3242, allocations: 16 kB / 472 MB, free: 14.02 MB / 362.7 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.0001319/0.3243, allocations: 153.7 kB / 472.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.3244, allocations: 31.56 kB / 472.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.3245, allocations: 38.17 kB / 472.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3245, allocations: 0 / 472.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3245, allocations: 8 kB / 472.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005224/0.325, allocations: 0.5631 MB / 472.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.3259, allocations: 0.6988 MB / 473.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3259, allocations: 0 / 473.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.3261, allocations: 44 kB / 473.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.3263, allocations: 48.8 kB / 473.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3263, allocations: 11.98 kB / 473.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009323/0.3273, allocations: 1.385 MB / 474.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3273, allocations: 4.031 kB / 474.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004952/0.3323, allocations: 4.007 MB / 478.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.3323, allocations: 112.7 kB / 479.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.3324, allocations: 8 kB / 479.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.3326, allocations: 7.906 kB / 479.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.3326, allocations: 19.97 kB / 479.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3327, allocations: 12 kB / 479.1 MB, free: 6.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3328, allocations: 186.1 kB / 479.3 MB, free: 6.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3328, allocations: 0 / 479.3 MB, free: 6.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005231/0.3333, allocations: 144 kB / 479.4 MB, free: 5.957 MB / 362.7 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.0001059/0.3335, allocations: 103.2 kB / 479.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.3341, allocations: 485.8 kB / 480 MB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3342, allocations: 0 / 480 MB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.3345, allocations: 230.5 kB / 480.2 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.3354, allocations: 173.7 kB / 480.4 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3369, allocations: 1.136 MB / 481.5 MB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3372, allocations: 0.7762 MB / 482.3 MB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.3375, allocations: 50.94 kB / 482.4 MB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.3376, allocations: 27.44 kB / 482.4 MB, free: 2.867 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3376, allocations: 0 / 482.4 MB, free: 2.867 MB / 362.7 MB Notification: Performance of Templates: time 0.00938/0.347, allocations: 6.454 MB / 488.8 MB, free: 12.43 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches