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.001094/0.001094, allocations: 110 kB / 17.21 MB, free: 6.289 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.001143/0.001143, allocations: 190 kB / 18.12 MB, free: 5.379 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.374/1.374, allocations: 222.9 MB / 241.8 MB, free: 15.42 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.2078/0.2078, allocations: 44.17 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 68.25 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4859/0.6216, allocations: 172.6 MB / 0.6261 GB, free: 4.566 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.6318, allocations: 5.486 MB / 0.6314 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.6333, allocations: 23.81 kB / 0.6314 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.6347, allocations: 278.5 kB / 0.6317 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005558/0.6403, allocations: 1.115 MB / 0.6328 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.6437, allocations: 0.8625 MB / 0.6336 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003962/0.6476, allocations: 2.714 MB / 0.6363 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.6487, allocations: 397.9 kB / 0.6367 GB, free: 9.688 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.6514, allocations: 0.9535 MB / 0.6376 GB, free: 8.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.6526, allocations: 0.6851 MB / 0.6383 GB, free: 8.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.6527, allocations: 32 kB / 0.6383 GB, free: 8.012 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.6544, allocations: 0.5305 MB / 0.6388 GB, free: 7.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.6547, allocations: 247.2 kB / 0.6391 GB, free: 7.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004708/0.6552, allocations: 370.2 kB / 0.6394 GB, free: 6.875 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.6569, allocations: 1.27 MB / 0.6406 GB, free: 5.602 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.249e-05/0.657, allocations: 4 kB / 0.6407 GB, free: 5.598 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.657, allocations: 0 / 0.6407 GB, free: 5.598 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.657, allocations: 0 / 0.6407 GB, free: 5.598 MB / 478.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.002416/0.6594, allocations: 1.102 MB / 0.6417 GB, free: 4.445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6595, allocations: 11.97 kB / 0.6417 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.6604, allocations: 142.9 kB / 0.6419 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.6612, allocations: 0.504 MB / 0.6424 GB, free: 3.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.6614, allocations: 107.2 kB / 0.6425 GB, free: 3.633 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/0.6615, allocations: 55.91 kB / 0.6425 GB, free: 3.578 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.6628, allocations: 0.8097 MB / 0.6433 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.6628, allocations: 7.922 kB / 0.6433 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.6629, allocations: 27.98 kB / 0.6433 GB, free: 2.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.004e-05/0.663, allocations: 48.97 kB / 0.6434 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.6641, allocations: 0.6204 MB / 0.644 GB, free: 1.992 MB / 478.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.00474/0.6688, allocations: 3.962 MB / 0.6479 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.6694, allocations: 347.6 kB / 0.6482 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.6697, allocations: 177.3 kB / 0.6484 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.6699, allocations: 85.39 kB / 0.6485 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.6699, allocations: 38.84 kB / 0.6485 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.265e-06/0.6699, allocations: 0 / 0.6485 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.00567/0.6756, allocations: 1.666 MB / 0.6501 GB, free: 11.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.6757, allocations: 140.5 kB / 0.6502 GB, free: 11.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.6765, allocations: 0.6132 MB / 0.6508 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.6766, allocations: 37.7 kB / 0.6509 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.6769, allocations: 362.9 kB / 0.6512 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.677, allocations: 142 kB / 0.6514 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.6772, allocations: 154.5 kB / 0.6515 GB, free: 9.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002412/0.6775, allocations: 382.8 kB / 0.6519 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.6779, allocations: 205.8 kB / 0.6521 GB, free: 9.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.6785, allocations: 0.5125 MB / 0.6526 GB, free: 8.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/0.6795, allocations: 0.7524 MB / 0.6533 GB, free: 7.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6795, allocations: 0 / 0.6533 GB, free: 7.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001521/0.6811, allocations: 0.8877 MB / 0.6542 GB, free: 6.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6811, allocations: 12 kB / 0.6542 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6811, allocations: 8 kB / 0.6542 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.6825, allocations: 316.9 kB / 0.6545 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.6829, allocations: 119.8 kB / 0.6546 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.6841, allocations: 0.9347 MB / 0.6555 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.6847, allocations: 47.88 kB / 0.6556 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/0.6848, allocations: 64 kB / 0.6556 GB, free: 5.324 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.0003896/0.6852, allocations: 258 kB / 0.6559 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.6854, allocations: 71.12 kB / 0.6559 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.6871, allocations: 0.8573 MB / 0.6568 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6871, allocations: 4 kB / 0.6568 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6871, allocations: 4 kB / 0.6568 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6872, allocations: 3.984 kB / 0.6568 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.6893, allocations: 1.455 MB / 0.6582 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.6893, allocations: 4 kB / 0.6582 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.6904, allocations: 211.9 kB / 0.6584 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.984e-05/0.6905, allocations: 24.84 kB / 0.6584 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.6906, allocations: 23.98 kB / 0.6585 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.6928, allocations: 2.691 MB / 0.6611 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.6928, allocations: 4.031 kB / 0.6611 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.6941, allocations: 0.8129 MB / 0.6619 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.6944, allocations: 192.2 kB / 0.6621 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.6946, allocations: 11.94 kB / 0.6621 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.695, allocations: 31.98 kB / 0.6621 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.6952, allocations: 39.95 kB / 0.6622 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.6952, allocations: 39.98 kB / 0.6622 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005677/0.6958, allocations: 439 kB / 0.6626 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6958, allocations: 0 / 0.6626 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001115/0.697, allocations: 260 kB / 0.6629 GB, free: 13.44 MB / 0.4981 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.000891/0.6979, allocations: 287.6 kB / 0.6631 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.6992, allocations: 0.5556 MB / 0.6637 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6993, allocations: 0 / 0.6637 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.7003, allocations: 418.3 kB / 0.6641 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.7021, allocations: 362.5 kB / 0.6644 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.7049, allocations: 1.559 MB / 0.6659 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.7055, allocations: 0.93 MB / 0.6669 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001354/0.7069, allocations: 462.4 kB / 0.6673 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.7072, allocations: 111.4 kB / 0.6674 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.915e-06/0.7073, allocations: 0 / 0.6674 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.03274/0.74, allocations: 16.82 MB / 0.6838 GB, free: 8.055 MB / 0.5137 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