Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 176.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 88.05 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3764/0.3764, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4291, allocations: 61.9 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.617, allocations: 430.5 MB / 0.93 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003777/1.617, allocations: 104.9 kB / 0.9301 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2758/1.893, allocations: 136.4 MB / 1.063 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.235e-06/1.893, allocations: 0 / 1.063 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.846e-05/1.893, allocations: 23.94 kB / 1.063 GB, free: 20.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002917/1.896, allocations: 0.9779 MB / 1.064 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/1.896, allocations: 12.03 kB / 1.064 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/1.897, allocations: 91.05 kB / 1.064 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/1.898, allocations: 0.5365 MB / 1.065 GB, free: 19.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.899, allocations: 108.3 kB / 1.065 GB, free: 19.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.899, allocations: 55.92 kB / 1.065 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/1.9, allocations: 0.8135 MB / 1.066 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/1.9, allocations: 0 / 1.066 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/1.9, allocations: 20 kB / 1.066 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/1.9, allocations: 36.98 kB / 1.066 GB, free: 18.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009644/1.901, allocations: 0.6439 MB / 1.067 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/1.905, allocations: 3.666 MB / 1.07 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/1.906, allocations: 404.1 kB / 1.07 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/1.906, allocations: 0.7366 MB / 1.071 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.906, allocations: 38.89 kB / 1.071 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.866e-06/1.906, allocations: 0 / 1.071 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002929/1.909, allocations: 1.525 MB / 1.073 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/1.909, allocations: 140.5 kB / 1.073 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/1.91, allocations: 0.502 MB / 1.073 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/1.91, allocations: 33.7 kB / 1.073 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/1.91, allocations: 355 kB / 1.074 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/1.91, allocations: 165.7 kB / 1.074 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/1.91, allocations: 16 kB / 1.074 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/1.91, allocations: 370.8 kB / 1.074 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/1.911, allocations: 213.8 kB / 1.074 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/1.911, allocations: 0.5006 MB / 1.075 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/1.911, allocations: 304.6 kB / 1.075 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.911, allocations: 4 kB / 1.075 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00132/1.913, allocations: 0.8869 MB / 1.076 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.913, allocations: 12 kB / 1.076 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.913, allocations: 12 kB / 1.076 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/1.914, allocations: 286.1 kB / 1.076 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/1.915, allocations: 119.8 kB / 1.077 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009009/1.915, allocations: 0.8879 MB / 1.077 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/1.916, allocations: 40.02 kB / 1.077 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/1.916, allocations: 39.98 kB / 1.077 GB, free: 5.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000434/1.917, allocations: 257.5 kB / 1.078 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.917, allocations: 67.16 kB / 1.078 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/1.918, allocations: 0.7559 MB / 1.079 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.918, allocations: 4 kB / 1.079 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.918, allocations: 4 kB / 1.079 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.918, allocations: 3.984 kB / 1.079 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/1.92, allocations: 1.391 MB / 1.08 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.92, allocations: 8 kB / 1.08 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/1.921, allocations: 207.9 kB / 1.08 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/1.921, allocations: 28.78 kB / 1.08 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/1.921, allocations: 11.94 kB / 1.08 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.377/2.298, allocations: 2.698 MB / 1.083 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/2.299, allocations: 5.344 kB / 1.083 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/2.302, allocations: 1.052 MB / 1.084 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007716/2.302, allocations: 212.2 kB / 1.084 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/2.303, allocations: 8.156 kB / 1.084 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/2.303, allocations: 34.55 kB / 1.084 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/2.303, allocations: 37.34 kB / 1.084 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/2.303, allocations: 26.22 kB / 1.084 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007771/2.304, allocations: 402 kB / 1.084 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.593e-06/2.304, allocations: 0 / 1.084 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001304/2.305, allocations: 246.6 kB / 1.085 GB, free: 113.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000949/2.306, allocations: 366.3 kB / 1.085 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001311/2.308, allocations: 0.587 MB / 1.086 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.308, allocations: 2.562 kB / 1.086 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009916/2.309, allocations: 441.7 kB / 1.086 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/2.31, allocations: 324.3 kB / 1.086 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/2.312, allocations: 1.616 MB / 1.088 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/2.313, allocations: 0.9509 MB / 1.089 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006981/2.314, allocations: 205.2 kB / 1.089 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/2.314, allocations: 66.88 kB / 1.089 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2e-07/2.314, allocations: 0 / 1.089 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.02989/2.344, allocations: 14.95 MB / 1.104 GB, free: 111.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches