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.001093/0.001092, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001048/0.001048, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.381/1.381, allocations: 222.9 MB / 243 MB, free: 15.13 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.2074/0.2074, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.75 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1455, allocations: 60.82 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5098/0.6554, allocations: 174.4 MB / 0.63 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007783/0.6632, allocations: 5.332 MB / 0.6352 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008459/0.6641, allocations: 27.75 kB / 0.6352 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.6652, allocations: 314 kB / 0.6355 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.6689, allocations: 1.241 MB / 0.6367 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.6719, allocations: 0.9665 MB / 0.6377 GB, free: 9.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003038/0.6749, allocations: 1.852 MB / 0.6395 GB, free: 7.918 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008121/0.6757, allocations: 457.5 kB / 0.6399 GB, free: 7.469 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.6787, allocations: 1.063 MB / 0.6409 GB, free: 6.402 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.6799, allocations: 0.654 MB / 0.6416 GB, free: 5.746 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.68, allocations: 60 kB / 0.6416 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.6817, allocations: 0.6281 MB / 0.6422 GB, free: 5.059 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.682, allocations: 267.2 kB / 0.6425 GB, free: 4.797 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.6826, allocations: 394.2 kB / 0.6429 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.6846, allocations: 1.301 MB / 0.6441 GB, free: 3.105 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6847, allocations: 0 / 0.6441 GB, free: 3.105 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6847, allocations: 0 / 0.6441 GB, free: 3.105 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.6847, allocations: 0 / 0.6441 GB, free: 3.105 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.002486/0.6872, allocations: 1.099 MB / 0.6452 GB, free: 1.953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.6873, allocations: 12.03 kB / 0.6452 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.6881, allocations: 135.1 kB / 0.6454 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.6891, allocations: 0.5352 MB / 0.6459 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.6892, allocations: 100.4 kB / 0.646 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.6893, allocations: 51.98 kB / 0.646 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6906, allocations: 0.8175 MB / 0.6468 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.6906, allocations: 3.938 kB / 0.6468 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/0.6907, allocations: 24 kB / 0.6469 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/0.6908, allocations: 36.98 kB / 0.6469 GB, free: 124 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.6919, allocations: 0.6165 MB / 0.6475 GB, free: 15.5 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.004717/0.6966, allocations: 3.965 MB / 0.6514 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.6972, allocations: 363.5 kB / 0.6517 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.6975, allocations: 165.3 kB / 0.6519 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.6977, allocations: 101.4 kB / 0.652 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.6977, allocations: 38.84 kB / 0.652 GB, free: 10.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.534e-06/0.6977, allocations: 0 / 0.652 GB, free: 10.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005496/0.7032, allocations: 1.658 MB / 0.6536 GB, free: 8.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/0.7033, allocations: 136.5 kB / 0.6537 GB, free: 8.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.7041, allocations: 0.6094 MB / 0.6543 GB, free: 8.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.7042, allocations: 37.64 kB / 0.6544 GB, free: 8.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.7045, allocations: 374.8 kB / 0.6547 GB, free: 7.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.7046, allocations: 138 kB / 0.6549 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.7048, allocations: 158.5 kB / 0.655 GB, free: 7.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.705, allocations: 374.8 kB / 0.6554 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.7054, allocations: 205.9 kB / 0.6556 GB, free: 6.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.706, allocations: 0.5086 MB / 0.6561 GB, free: 6.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.707, allocations: 0.7552 MB / 0.6568 GB, free: 5.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.707, allocations: 4 kB / 0.6568 GB, free: 5.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001492/0.7085, allocations: 0.8876 MB / 0.6577 GB, free: 4.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7086, allocations: 11.94 kB / 0.6577 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.7086, allocations: 12 kB / 0.6577 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.71, allocations: 317 kB / 0.658 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.7105, allocations: 123.8 kB / 0.6581 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.7116, allocations: 0.9411 MB / 0.659 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.7122, allocations: 28 kB / 0.6591 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.7123, allocations: 63.98 kB / 0.6591 GB, free: 2.832 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.0003944/0.7127, allocations: 244.1 kB / 0.6594 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.7128, allocations: 67.22 kB / 0.6594 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.7144, allocations: 0.8652 MB / 0.6603 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7145, allocations: 8 kB / 0.6603 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.7145, allocations: 4 kB / 0.6603 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.7145, allocations: 4.859 kB / 0.6603 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.7166, allocations: 1.458 MB / 0.6617 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.7166, allocations: 7.984 kB / 0.6617 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.7176, allocations: 203.8 kB / 0.6619 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.7177, allocations: 28.78 kB / 0.6619 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.7178, allocations: 19.98 kB / 0.662 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.7199, allocations: 2.882 MB / 0.6648 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.7199, allocations: 7.969 kB / 0.6648 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.7212, allocations: 0.8181 MB / 0.6656 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.7215, allocations: 184.2 kB / 0.6658 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.7216, allocations: 12 kB / 0.6658 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.722, allocations: 12 kB / 0.6658 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.7222, allocations: 43.89 kB / 0.6658 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.507e-05/0.7222, allocations: 39.98 kB / 0.6659 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006068/0.7229, allocations: 447.1 kB / 0.6663 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7229, allocations: 0 / 0.6663 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001097/0.724, allocations: 251.9 kB / 0.6665 GB, free: 10.77 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.0007748/0.7248, allocations: 299.6 kB / 0.6668 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.726, allocations: 0.557 MB / 0.6674 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.726, allocations: 5.438 kB / 0.6674 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.727, allocations: 418.6 kB / 0.6678 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.7285, allocations: 368.4 kB / 0.6681 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.7307, allocations: 1.331 MB / 0.6694 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.7313, allocations: 0.9339 MB / 0.6703 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009878/0.7323, allocations: 462.4 kB / 0.6708 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.7326, allocations: 111.4 kB / 0.6709 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.7326, allocations: 0 / 0.6709 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of Templates: time 0.02716/0.7597, allocations: 17.39 MB / 0.6879 GB, free: 4.996 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/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