Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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_3.2.3_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_3.2.3_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.001086/0.001086, allocations: 102.8 kB / 16.94 MB, free: 5.809 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.001069/0.001069, allocations: 187.3 kB / 17.86 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2327/0.2327, allocations: 43.52 MB / 314.6 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 73.64 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1396, allocations: 57.79 MB / 441.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5298/0.6695, allocations: 179.7 MB / 0.6063 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.6818, allocations: 8.181 MB / 0.6143 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.6831, allocations: 17.84 kB / 0.6143 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.6845, allocations: 314.8 kB / 0.6146 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005537/0.69, allocations: 1.485 MB / 0.6161 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.6937, allocations: 1.157 MB / 0.6172 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.6965, allocations: 1.84 MB / 0.619 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.6976, allocations: 464.7 kB / 0.6195 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.7014, allocations: 1.224 MB / 0.6207 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.7029, allocations: 0.6589 MB / 0.6213 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.7033, allocations: 60.62 kB / 0.6214 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.7057, allocations: 0.7412 MB / 0.6221 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000509/0.7062, allocations: 258 kB / 0.6223 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009389/0.7071, allocations: 401.2 kB / 0.6227 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.7102, allocations: 1.411 MB / 0.6241 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7103, allocations: 0 / 0.6241 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7103, allocations: 0 / 0.6241 GB, free: 13.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.7103, allocations: 3.984 kB / 0.6241 GB, free: 13.64 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.003691/0.714, allocations: 1.13 MB / 0.6252 GB, free: 12.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.7141, allocations: 8.031 kB / 0.6252 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.7152, allocations: 131.1 kB / 0.6253 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.7164, allocations: 0.5157 MB / 0.6258 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.7165, allocations: 96.41 kB / 0.6259 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.7167, allocations: 53.92 kB / 0.626 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.7182, allocations: 0.821 MB / 0.6268 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.7182, allocations: 3.938 kB / 0.6268 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/0.7183, allocations: 24 kB / 0.6268 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.41e-05/0.7184, allocations: 40.98 kB / 0.6268 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.7196, allocations: 0.6166 MB / 0.6275 GB, free: 10.03 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.005175/0.7247, allocations: 3.988 MB / 0.6313 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.7254, allocations: 356.8 kB / 0.6317 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.7258, allocations: 169.3 kB / 0.6318 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005893/0.7264, allocations: 361.4 kB / 0.6322 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.7265, allocations: 38.84 kB / 0.6322 GB, free: 4.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/0.7265, allocations: 0 / 0.6322 GB, free: 4.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.006129/0.7326, allocations: 1.671 MB / 0.6339 GB, free: 3.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.7327, allocations: 136.5 kB / 0.634 GB, free: 2.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008134/0.7335, allocations: 0.621 MB / 0.6346 GB, free: 2.277 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.7336, allocations: 37.7 kB / 0.6346 GB, free: 2.234 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.7339, allocations: 355 kB / 0.635 GB, free: 1.883 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.7341, allocations: 149.9 kB / 0.6351 GB, free: 1.734 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.7343, allocations: 162.4 kB / 0.6353 GB, free: 1.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.7345, allocations: 378.8 kB / 0.6356 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.7349, allocations: 201.9 kB / 0.6358 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007611/0.7357, allocations: 0.5163 MB / 0.6363 GB, free: 340 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.7368, allocations: 0.7415 MB / 0.6371 GB, free: 15.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.7368, allocations: 4 kB / 0.6371 GB, free: 15.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001715/0.7385, allocations: 0.8839 MB / 0.6379 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.7386, allocations: 8 kB / 0.6379 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.7386, allocations: 20.06 kB / 0.6379 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.74, allocations: 319.6 kB / 0.6383 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.7405, allocations: 115.8 kB / 0.6384 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.7418, allocations: 0.9385 MB / 0.6393 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.7423, allocations: 27.98 kB / 0.6393 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/0.7424, allocations: 64 kB / 0.6394 GB, free: 13.04 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 (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.0004074/0.7429, allocations: 246.5 kB / 0.6396 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.743, allocations: 71.17 kB / 0.6397 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.7446, allocations: 0.6861 MB / 0.6403 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.7446, allocations: 4 kB / 0.6403 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7446, allocations: 4 kB / 0.6403 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.7446, allocations: 3.984 kB / 0.6403 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.7471, allocations: 1.61 MB / 0.6419 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7471, allocations: 3.938 kB / 0.6419 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.7482, allocations: 207.9 kB / 0.6421 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.239e-05/0.7483, allocations: 24.84 kB / 0.6421 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.7484, allocations: 23.98 kB / 0.6422 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.751, allocations: 2.884 MB / 0.645 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.751, allocations: 3.938 kB / 0.645 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.7523, allocations: 0.7955 MB / 0.6458 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.7527, allocations: 196.3 kB / 0.646 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.7528, allocations: 12 kB / 0.646 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.7533, allocations: 15.98 kB / 0.646 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.7534, allocations: 35.95 kB / 0.646 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.7535, allocations: 47.92 kB / 0.6461 GB, free: 5.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005877/0.7541, allocations: 443 kB / 0.6465 GB, free: 5.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7541, allocations: 0 / 0.6465 GB, free: 5.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001221/0.7553, allocations: 295.9 kB / 0.6468 GB, free: 4.961 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001197/0.7565, allocations: 363.3 kB / 0.6471 GB, free: 4.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.758, allocations: 0.5985 MB / 0.6477 GB, free: 4.004 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.758, allocations: 11.8 kB / 0.6477 GB, free: 3.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.759, allocations: 410.4 kB / 0.6481 GB, free: 3.578 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.7608, allocations: 360.7 kB / 0.6484 GB, free: 3.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.7636, allocations: 1.373 MB / 0.6498 GB, free: 1.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.7642, allocations: 0.9261 MB / 0.6507 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.7646, allocations: 111.4 kB / 0.6508 GB, free: 0.75 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7647, allocations: 0 / 0.6508 GB, free: 0.75 MB / 462.1 MB Notification: Performance of Templates: time 0.03058/0.7952, allocations: 17.02 MB / 0.6674 GB, free: 15.75 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches