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: 170 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008347/0.0008347, allocations: 101.3 kB / 281.6 MB, free: 5.328 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.2158/0.2158, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.525e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.162, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.577/1.74, allocations: 429.8 MB / 0.9144 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003978/1.74, allocations: 93.94 kB / 0.9145 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2799/2.02, allocations: 134.8 MB / 1.046 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.767e-06/2.02, allocations: 0 / 1.046 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001242/2.02, allocations: 19.94 kB / 1.046 GB, free: 52 MB / 0.5105 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.00299/2.023, allocations: 0.8968 MB / 1.047 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/2.023, allocations: 15.98 kB / 1.047 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/2.024, allocations: 91.05 kB / 1.047 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/2.025, allocations: 0.5428 MB / 1.048 GB, free: 50.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/2.025, allocations: 88.7 kB / 1.048 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/2.025, allocations: 32 kB / 1.048 GB, free: 50.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/2.027, allocations: 0.5531 MB / 1.048 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/2.028, allocations: 0.7278 MB / 1.049 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/2.028, allocations: 3.938 kB / 1.049 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/2.028, allocations: 4 kB / 1.049 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/2.028, allocations: 41.3 kB / 1.049 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/2.032, allocations: 3.799 MB / 1.053 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/2.033, allocations: 315.5 kB / 1.053 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/2.033, allocations: 161.4 kB / 1.053 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/2.034, allocations: 0.4911 MB / 1.054 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/2.034, allocations: 38.84 kB / 1.054 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/2.034, allocations: 4 kB / 1.054 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003152/2.037, allocations: 1.296 MB / 1.055 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/2.037, allocations: 136.5 kB / 1.055 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/2.037, allocations: 446 kB / 1.056 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/2.037, allocations: 25.7 kB / 1.056 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/2.038, allocations: 383 kB / 1.056 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.198e-05/2.038, allocations: 134 kB / 1.056 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/2.038, allocations: 0 / 1.056 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001046/2.038, allocations: 370.8 kB / 1.056 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/2.038, allocations: 189.5 kB / 1.057 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/2.038, allocations: 490.3 kB / 1.057 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/2.039, allocations: 312.5 kB / 1.057 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/2.039, allocations: 4 kB / 1.057 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001823/2.041, allocations: 0.8628 MB / 1.058 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/2.041, allocations: 17.19 kB / 1.058 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/2.041, allocations: 8 kB / 1.058 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009093/2.042, allocations: 229.4 kB / 1.059 GB, free: 38.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/2.042, allocations: 119.8 kB / 1.059 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008272/2.043, allocations: 0.9048 MB / 1.06 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/2.044, allocations: 36.08 kB / 1.06 GB, free: 37.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/2.044, allocations: 43.92 kB / 1.06 GB, free: 37.4 MB / 0.5105 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 () * 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.0001441/2.044, allocations: 132.6 kB / 1.06 GB, free: 37.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/2.044, allocations: 63.25 kB / 1.06 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/2.045, allocations: 0.6316 MB / 1.06 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/2.045, allocations: 8 kB / 1.06 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/2.045, allocations: 0 / 1.06 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/2.045, allocations: 0 / 1.06 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/2.047, allocations: 1.512 MB / 1.062 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/2.047, allocations: 4 kB / 1.062 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/2.048, allocations: 200 kB / 1.062 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.256e-05/2.048, allocations: 28.78 kB / 1.062 GB, free: 34.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/2.048, allocations: 7.984 kB / 1.062 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/2.049, allocations: 2.577 MB / 1.065 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.049, allocations: 0 / 1.065 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/2.051, allocations: 1.001 MB / 1.066 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/2.051, allocations: 200.2 kB / 1.066 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/2.051, allocations: 4 kB / 1.066 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/2.051, allocations: 27.89 kB / 1.066 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/2.051, allocations: 36.02 kB / 1.066 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/2.052, allocations: 23.98 kB / 1.066 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003009/2.052, allocations: 326.9 kB / 1.066 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/2.052, allocations: 0 / 1.066 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008871/2.053, allocations: 223.9 kB / 1.066 GB, free: 29.91 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * 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.0007338/2.053, allocations: 366 kB / 1.067 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008648/2.054, allocations: 0.5179 MB / 1.067 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/2.054, allocations: 0 / 1.067 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000816/2.055, allocations: 411.1 kB / 1.068 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/2.056, allocations: 276.7 kB / 1.068 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/2.058, allocations: 0.9305 MB / 1.069 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/2.059, allocations: 0.9536 MB / 1.07 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006726/2.059, allocations: 197.2 kB / 1.07 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/2.059, allocations: 59.41 kB / 1.07 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/2.059, allocations: 0 / 1.07 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.02031/2.08, allocations: 12.7 MB / 1.082 GB, free: 13.53 MB / 0.5105 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