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.0008607/0.0008611, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 186.2 kB / 16.92 MB, free: 6.918 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.496/1.496, allocations: 205.4 MB / 223.1 MB, free: 5.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3318/0.3318, allocations: 43.57 MB / 315 MB, free: 8.703 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.000524/0.000524, allocations: 16.47 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1395, allocations: 58.86 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4636/0.6031, allocations: 175.8 MB / 0.6047 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.6178, allocations: 8.301 MB / 0.6128 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.6194, allocations: 27.75 kB / 0.6129 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.6207, allocations: 274.5 kB / 0.6131 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.6257, allocations: 1.326 MB / 0.6144 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.6295, allocations: 1.004 MB / 0.6154 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003837/0.6333, allocations: 2.713 MB / 0.618 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.6344, allocations: 395.7 kB / 0.6184 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.6381, allocations: 1.108 MB / 0.6195 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.6397, allocations: 0.6851 MB / 0.6202 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.6398, allocations: 32 kB / 0.6202 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.6419, allocations: 0.6942 MB / 0.6209 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.6423, allocations: 239.3 kB / 0.6211 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.6429, allocations: 395.9 kB / 0.6215 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.6449, allocations: 1.379 MB / 0.6228 GB, free: 9.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6449, allocations: 0 / 0.6228 GB, free: 9.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6449, allocations: 0 / 0.6228 GB, free: 9.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.645, allocations: 4 kB / 0.6228 GB, free: 9.012 MB / 494.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.00214/0.6471, allocations: 0.9823 MB / 0.6238 GB, free: 7.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6472, allocations: 8.031 kB / 0.6238 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.648, allocations: 139.1 kB / 0.6239 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.6488, allocations: 0.5041 MB / 0.6244 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.6489, allocations: 106.9 kB / 0.6245 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.649, allocations: 51.98 kB / 0.6246 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.6502, allocations: 0.8097 MB / 0.6254 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.6503, allocations: 3.938 kB / 0.6254 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.6503, allocations: 27.98 kB / 0.6254 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.88e-05/0.6504, allocations: 40.97 kB / 0.6254 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.6515, allocations: 0.6205 MB / 0.6261 GB, free: 5.547 MB / 494.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.004593/0.6561, allocations: 3.979 MB / 0.6299 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.6567, allocations: 359.6 kB / 0.6303 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.657, allocations: 169.3 kB / 0.6304 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/0.6576, allocations: 365.4 kB / 0.6308 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.6576, allocations: 34.84 kB / 0.6308 GB, free: 348 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.6577, allocations: 0 / 0.6308 GB, free: 348 kB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.3823/1.04, allocations: 1.663 MB / 0.6324 GB, free: 15.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/1.04, allocations: 134.2 kB / 0.6326 GB, free: 15.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/1.041, allocations: 0.6151 MB / 0.6332 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/1.041, allocations: 37.95 kB / 0.6332 GB, free: 15.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/1.041, allocations: 361.8 kB / 0.6336 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/1.041, allocations: 147.9 kB / 0.6337 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/1.041, allocations: 58.84 kB / 0.6338 GB, free: 15.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/1.042, allocations: 378.6 kB / 0.6341 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/1.042, allocations: 206.3 kB / 0.6343 GB, free: 14.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/1.042, allocations: 0.5139 MB / 0.6348 GB, free: 14.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/1.043, allocations: 0.7416 MB / 0.6355 GB, free: 13.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.043, allocations: 2.562 kB / 0.6355 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001425/1.045, allocations: 0.8888 MB / 0.6364 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.045, allocations: 10.44 kB / 0.6364 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.045, allocations: 11.72 kB / 0.6364 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/1.046, allocations: 320.5 kB / 0.6367 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/1.047, allocations: 121 kB / 0.6369 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/1.048, allocations: 0.928 MB / 0.6378 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/1.048, allocations: 45.77 kB / 0.6378 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.049, allocations: 71.62 kB / 0.6379 GB, free: 13.36 MB / 494.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.0004348/1.049, allocations: 253.5 kB / 0.6381 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/1.049, allocations: 71.97 kB / 0.6382 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.051, allocations: 0.6764 MB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.051, allocations: 5.531 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.051, allocations: 3.938 kB / 0.6388 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.051, allocations: 6.672 kB / 0.6389 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/1.053, allocations: 1.603 MB / 0.6404 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.053, allocations: 6.312 kB / 0.6404 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/1.054, allocations: 208.4 kB / 0.6406 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/1.054, allocations: 22.75 kB / 0.6406 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/1.054, allocations: 20.64 kB / 0.6407 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/1.056, allocations: 2.688 MB / 0.6433 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.056, allocations: 2.312 kB / 0.6433 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/1.057, allocations: 0.8091 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/1.057, allocations: 197.7 kB / 0.6443 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/1.057, allocations: 9.375 kB / 0.6443 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/1.058, allocations: 26.28 kB / 0.6443 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.058, allocations: 39.2 kB / 0.6443 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.031e-05/1.058, allocations: 46.11 kB / 0.6444 GB, free: 9.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005593/1.059, allocations: 439.9 kB / 0.6448 GB, free: 9.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.059, allocations: 0 / 0.6448 GB, free: 9.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001226/1.06, allocations: 299.4 kB / 0.6451 GB, free: 9.32 MB / 494.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.001001/1.061, allocations: 367.2 kB / 0.6454 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/1.062, allocations: 0.5415 MB / 0.646 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.062, allocations: 0 / 0.646 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00095/1.063, allocations: 429.4 kB / 0.6464 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/1.065, allocations: 343.2 kB / 0.6467 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/1.067, allocations: 1.624 MB / 0.6483 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/1.068, allocations: 0.9313 MB / 0.6492 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001109/1.069, allocations: 265.6 kB / 0.6495 GB, free: 7.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/1.069, allocations: 97.28 kB / 0.6496 GB, free: 7.48 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/1.069, allocations: 4 kB / 0.6496 GB, free: 7.477 MB / 494.1 MB Notification: Performance of Templates: time 0.04013/1.109, allocations: 17.64 MB / 0.6668 GB, free: 4.309 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches