Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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 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 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) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001072, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001031/0.001031, allocations: 183.9 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 63.84 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.4682, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2271/0.6953, allocations: 174.4 MB / 0.6892 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.7059, allocations: 5.334 MB / 0.6944 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.7074, allocations: 19.88 kB / 0.6944 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.7092, allocations: 318 kB / 0.6947 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005253/0.7145, allocations: 1.241 MB / 0.6959 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/0.718, allocations: 0.9618 MB / 0.6969 GB, free: 5.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003242/0.7213, allocations: 1.852 MB / 0.6987 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.7225, allocations: 457.3 kB / 0.6991 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.7259, allocations: 1.082 MB / 0.7002 GB, free: 1.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.7276, allocations: 0.6462 MB / 0.7008 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.728, allocations: 60 kB / 0.7009 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.73, allocations: 0.632 MB / 0.7015 GB, free: 440 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.7305, allocations: 259.3 kB / 0.7017 GB, free: 180 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008922/0.7314, allocations: 402.2 kB / 0.7021 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.7342, allocations: 1.301 MB / 0.7034 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7342, allocations: 0 / 0.7034 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7342, allocations: 0 / 0.7034 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.192e-05/0.7343, allocations: 0 / 0.7034 GB, free: 14.48 MB / 0.5606 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.002978/0.7373, allocations: 1.094 MB / 0.7045 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.7373, allocations: 12.02 kB / 0.7045 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.7382, allocations: 135.1 kB / 0.7046 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.7393, allocations: 0.5391 MB / 0.7051 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.7394, allocations: 100.4 kB / 0.7052 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.7395, allocations: 51.98 kB / 0.7053 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.741, allocations: 0.8097 MB / 0.7061 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.741, allocations: 7.938 kB / 0.7061 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.7411, allocations: 24 kB / 0.7061 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.626e-05/0.7412, allocations: 44.91 kB / 0.7061 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.7423, allocations: 0.6205 MB / 0.7067 GB, free: 10.86 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004942/0.7472, allocations: 3.957 MB / 0.7106 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.7479, allocations: 367.5 kB / 0.711 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.7482, allocations: 169.3 kB / 0.7111 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.7483, allocations: 93.38 kB / 0.7112 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.7484, allocations: 38.84 kB / 0.7112 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.7484, allocations: 0 / 0.7112 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006407/0.7548, allocations: 1.664 MB / 0.7129 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.7549, allocations: 140.5 kB / 0.713 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/0.7558, allocations: 0.6094 MB / 0.7136 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.7559, allocations: 33.7 kB / 0.7136 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.7562, allocations: 366.8 kB / 0.714 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.7564, allocations: 142 kB / 0.7141 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.7566, allocations: 158.5 kB / 0.7143 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.7568, allocations: 378.8 kB / 0.7146 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.7572, allocations: 201.9 kB / 0.7148 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.7578, allocations: 0.5163 MB / 0.7153 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/0.7588, allocations: 0.7475 MB / 0.7161 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.7588, allocations: 4 kB / 0.7161 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.391/1.15, allocations: 0.8833 MB / 0.7169 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/1.15, allocations: 10.12 kB / 0.7169 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/1.15, allocations: 10.44 kB / 0.7169 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/1.152, allocations: 315.8 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/1.152, allocations: 126.4 kB / 0.7174 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/1.153, allocations: 0.927 MB / 0.7183 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/1.154, allocations: 25.38 kB / 0.7183 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.154, allocations: 67.19 kB / 0.7184 GB, free: 189.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004535/1.155, allocations: 245.8 kB / 0.7186 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.155, allocations: 66.91 kB / 0.7187 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/1.157, allocations: 0.8653 MB / 0.7195 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/1.157, allocations: 5.141 kB / 0.7195 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.157, allocations: 0 / 0.7195 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.157, allocations: 3.078 kB / 0.7195 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/1.159, allocations: 1.46 MB / 0.7209 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.159, allocations: 6.422 kB / 0.7209 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.16, allocations: 211.3 kB / 0.7211 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/1.161, allocations: 24.41 kB / 0.7212 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/1.161, allocations: 18.06 kB / 0.7212 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/1.163, allocations: 2.877 MB / 0.724 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.163, allocations: 2.344 kB / 0.724 GB, free: 185 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/1.164, allocations: 0.8293 MB / 0.7248 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/1.164, allocations: 197.5 kB / 0.725 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/1.165, allocations: 12.84 kB / 0.725 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/1.165, allocations: 16.5 kB / 0.725 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.165, allocations: 35.77 kB / 0.7251 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.281e-05/1.165, allocations: 48.67 kB / 0.7251 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006422/1.166, allocations: 443 kB / 0.7255 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.166, allocations: 1.406 kB / 0.7255 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001057/1.167, allocations: 252.7 kB / 0.7258 GB, free: 184.2 MB / 0.5606 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008098/1.168, allocations: 295 kB / 0.726 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001142/1.169, allocations: 0.5565 MB / 0.7266 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.169, allocations: 7.562 kB / 0.7266 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.17, allocations: 421.7 kB / 0.727 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.172, allocations: 373.8 kB / 0.7274 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/1.174, allocations: 1.327 MB / 0.7287 GB, free: 183 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/1.174, allocations: 0.9333 MB / 0.7296 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00106/1.176, allocations: 465.4 kB / 0.73 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/1.176, allocations: 111.1 kB / 0.7301 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/1.176, allocations: 0 / 0.7301 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.02755/1.203, allocations: 17.57 MB / 0.7473 GB, free: 170.1 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches