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.0009577/0.0009579, allocations: 93.25 kB / 16.98 MB, free: 5.938 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.0008704/0.0008705, allocations: 185.8 kB / 17.88 MB, free: 5.594 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.366/1.366, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2297/0.2297, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5017/0.6475, allocations: 141.9 MB / 0.599 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00824/0.6558, allocations: 5.522 MB / 0.6044 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.6568, allocations: 27.75 kB / 0.6044 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009681/0.6578, allocations: 266.7 kB / 0.6046 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.6611, allocations: 0.9912 MB / 0.6056 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.6634, allocations: 0.7644 MB / 0.6064 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.6651, allocations: 1.04 MB / 0.6074 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.6657, allocations: 385.1 kB / 0.6077 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.6673, allocations: 0.7479 MB / 0.6085 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.668, allocations: 450.5 kB / 0.6089 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.6681, allocations: 36 kB / 0.6089 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.6695, allocations: 495.4 kB / 0.6094 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.6697, allocations: 215.4 kB / 0.6096 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.6699, allocations: 169.3 kB / 0.6098 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.6709, allocations: 0.9144 MB / 0.6107 GB, free: 8.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.671, allocations: 0 / 0.6107 GB, free: 8.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.671, allocations: 4 kB / 0.6107 GB, free: 8.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.671, allocations: 0 / 0.6107 GB, free: 8.047 MB / 446.1 MB 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.002142/0.6731, allocations: 0.951 MB / 0.6116 GB, free: 7.043 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.6732, allocations: 12.56 kB / 0.6116 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/0.674, allocations: 131.1 kB / 0.6117 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009224/0.6749, allocations: 496.5 kB / 0.6122 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.6751, allocations: 104.4 kB / 0.6123 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.6752, allocations: 47.94 kB / 0.6124 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.6764, allocations: 0.8174 MB / 0.6131 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.6764, allocations: 7.938 kB / 0.6132 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.6765, allocations: 20 kB / 0.6132 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.246e-05/0.6766, allocations: 36.98 kB / 0.6132 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.6776, allocations: 0.6283 MB / 0.6138 GB, free: 4.633 MB / 446.1 MB 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.004772/0.6824, allocations: 3.946 MB / 0.6177 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.683, allocations: 351.6 kB / 0.618 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.6833, allocations: 93.38 kB / 0.6181 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.6833, allocations: 46.73 kB / 0.6181 GB, free: 15.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.494e-06/0.6834, allocations: 4 kB / 0.6182 GB, free: 15.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005855/0.6892, allocations: 1.66 MB / 0.6198 GB, free: 14.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.6893, allocations: 136.5 kB / 0.6199 GB, free: 14.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007919/0.6901, allocations: 0.6094 MB / 0.6205 GB, free: 13.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.6902, allocations: 37.7 kB / 0.6205 GB, free: 13.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.6905, allocations: 362.8 kB / 0.6209 GB, free: 12.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.6906, allocations: 142.1 kB / 0.621 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.6907, allocations: 16 kB / 0.621 GB, free: 12.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.6909, allocations: 374.8 kB / 0.6214 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.6912, allocations: 193.9 kB / 0.6216 GB, free: 12.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.6918, allocations: 0.5125 MB / 0.6221 GB, free: 11.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.6923, allocations: 292.5 kB / 0.6224 GB, free: 11.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6923, allocations: 0 / 0.6224 GB, free: 11.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001447/0.6937, allocations: 0.8875 MB / 0.6232 GB, free: 10.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.6938, allocations: 8 kB / 0.6232 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.6938, allocations: 12 kB / 0.6232 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.6952, allocations: 319.1 kB / 0.6235 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.6957, allocations: 131.7 kB / 0.6237 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.6968, allocations: 0.9239 MB / 0.6246 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.6974, allocations: 47.98 kB / 0.6246 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.6975, allocations: 67.98 kB / 0.6247 GB, free: 8.902 MB / 462.1 MB 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 (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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004424/0.6979, allocations: 241.5 kB / 0.6249 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6981, allocations: 75.11 kB / 0.625 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.6999, allocations: 0.8693 MB / 0.6258 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6999, allocations: 4 kB / 0.6258 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6999, allocations: 4 kB / 0.6258 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6999, allocations: 4 kB / 0.6258 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.7023, allocations: 1.442 MB / 0.6273 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.7023, allocations: 4.031 kB / 0.6273 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.7034, allocations: 211.7 kB / 0.6275 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.7035, allocations: 24.84 kB / 0.6275 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.7036, allocations: 23.98 kB / 0.6275 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/0.7059, allocations: 2.703 MB / 0.6301 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7059, allocations: 0 / 0.6301 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.7073, allocations: 0.8819 MB / 0.631 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.7077, allocations: 188.2 kB / 0.6312 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.7078, allocations: 8 kB / 0.6312 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.7082, allocations: 27.98 kB / 0.6312 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.7083, allocations: 43.95 kB / 0.6313 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.7084, allocations: 43.98 kB / 0.6313 GB, free: 1.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005579/0.709, allocations: 431 kB / 0.6317 GB, free: 1.184 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.709, allocations: 0 / 0.6317 GB, free: 1.184 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001126/0.7101, allocations: 255.9 kB / 0.632 GB, free: 0.9336 MB / 462.1 MB 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 (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.0008732/0.711, allocations: 282 kB / 0.6322 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.7122, allocations: 0.5544 MB / 0.6328 GB, free: 104 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7122, allocations: 7.938 kB / 0.6328 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009986/0.7132, allocations: 410.4 kB / 0.6332 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.7148, allocations: 337 kB / 0.6335 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.7171, allocations: 1.575 MB / 0.635 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.7176, allocations: 0.9455 MB / 0.6359 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00133/0.719, allocations: 462.4 kB / 0.6364 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.7194, allocations: 115.4 kB / 0.6365 GB, free: 12.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/0.7194, allocations: 0 / 0.6365 GB, free: 12.2 MB / 478.1 MB Notification: Performance of Templates: time 0.02801/0.7474, allocations: 16.19 MB / 0.6523 GB, free: 12.17 MB / 494.1 MB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches