Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008697/0.0008699, allocations: 175.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.7 MB / 243.9 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008714/0.0008714, allocations: 94.05 kB / 295.1 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3306/0.3306, allocations: 44.32 MB / 390.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 8 kB / 463.2 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3355, allocations: 61.9 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1918/0.5274, allocations: 167.6 MB / 0.6764 GB, free: 4.266 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3429/0.8704, allocations: 7.661 MB / 0.6839 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.8717, allocations: 25.5 kB / 0.6839 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00097/0.8727, allocations: 276.3 kB / 0.6842 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.8761, allocations: 1.122 MB / 0.6853 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.8787, allocations: 0.8484 MB / 0.6861 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003035/0.8818, allocations: 2.717 MB / 0.6888 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005744/0.8824, allocations: 401 kB / 0.6892 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.8844, allocations: 0.9669 MB / 0.6901 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.8853, allocations: 0.6807 MB / 0.6908 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.75e-05/0.8854, allocations: 34.89 kB / 0.6908 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.8867, allocations: 0.5039 MB / 0.6913 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.887, allocations: 234.2 kB / 0.6915 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.8874, allocations: 394 kB / 0.6919 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.8893, allocations: 1.255 MB / 0.6931 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8893, allocations: 0 / 0.6931 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.8893, allocations: 0 / 0.6931 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.8893, allocations: 1.75 kB / 0.6931 GB, free: 13.14 MB / 490.7 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.002145/0.8915, allocations: 0.9481 MB / 0.694 GB, free: 12.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.8915, allocations: 9.406 kB / 0.6941 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007963/0.8923, allocations: 143 kB / 0.6942 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007333/0.8931, allocations: 0.4963 MB / 0.6947 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.946e-05/0.8932, allocations: 106.4 kB / 0.6948 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.8933, allocations: 49.47 kB / 0.6948 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.8945, allocations: 0.82 MB / 0.6956 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.8945, allocations: 5.031 kB / 0.6956 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.8946, allocations: 18.91 kB / 0.6956 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/0.8947, allocations: 45.47 kB / 0.6957 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000998/0.8957, allocations: 0.6163 MB / 0.6963 GB, free: 11.93 MB / 490.7 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.003848/0.8995, allocations: 3.967 MB / 0.7002 GB, free: 9.312 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.9001, allocations: 352.3 kB / 0.7005 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.9004, allocations: 175.5 kB / 0.7007 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.9005, allocations: 88.53 kB / 0.7008 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.9005, allocations: 45.02 kB / 0.7008 GB, free: 9.133 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.746e-06/0.9005, allocations: 0.9375 kB / 0.7008 GB, free: 9.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005216/0.9058, allocations: 1.668 MB / 0.7024 GB, free: 8.613 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.9058, allocations: 134.2 kB / 0.7026 GB, free: 8.457 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/0.9066, allocations: 0.6095 MB / 0.7031 GB, free: 8.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.9066, allocations: 39.55 kB / 0.7032 GB, free: 8.285 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.9068, allocations: 364.6 kB / 0.7035 GB, free: 8.094 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.9069, allocations: 144.3 kB / 0.7037 GB, free: 8.004 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.907, allocations: 12.72 kB / 0.7037 GB, free: 8.004 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9071, allocations: 375.9 kB / 0.704 GB, free: 7.691 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.9074, allocations: 203.1 kB / 0.7042 GB, free: 7.688 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.908, allocations: 0.5142 MB / 0.7047 GB, free: 7.293 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.9088, allocations: 0.7455 MB / 0.7055 GB, free: 6.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.9088, allocations: 2.5 kB / 0.7055 GB, free: 6.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001597/0.9104, allocations: 0.8842 MB / 0.7063 GB, free: 6.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.9105, allocations: 9.688 kB / 0.7063 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.9105, allocations: 14.12 kB / 0.7064 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.912, allocations: 313 kB / 0.7067 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.9124, allocations: 123.3 kB / 0.7068 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.9135, allocations: 0.9327 MB / 0.7077 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.9141, allocations: 44.56 kB / 0.7077 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.9142, allocations: 63.42 kB / 0.7078 GB, free: 6.27 MB / 490.7 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.0003781/0.9146, allocations: 253.1 kB / 0.708 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.9148, allocations: 71.17 kB / 0.7081 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.9167, allocations: 0.8643 MB / 0.7089 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.9168, allocations: 5.031 kB / 0.7089 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.9168, allocations: 0.9375 kB / 0.7089 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9168, allocations: 3.562 kB / 0.7089 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.9191, allocations: 1.452 MB / 0.7104 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9191, allocations: 2.312 kB / 0.7104 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.9202, allocations: 214.4 kB / 0.7106 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.314e-05/0.9203, allocations: 24.62 kB / 0.7106 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.9204, allocations: 22.56 kB / 0.7106 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.922, allocations: 2.683 MB / 0.7132 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.922, allocations: 1.844 kB / 0.7132 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.9234, allocations: 0.8139 MB / 0.714 GB, free: 2.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.9238, allocations: 187.9 kB / 0.7142 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.9239, allocations: 17.81 kB / 0.7142 GB, free: 2.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.9243, allocations: 31.45 kB / 0.7143 GB, free: 2.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.9244, allocations: 44.75 kB / 0.7143 GB, free: 2.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/0.9245, allocations: 45.7 kB / 0.7143 GB, free: 2.359 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006962/0.9252, allocations: 431.1 kB / 0.7148 GB, free: 2.266 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9252, allocations: 0 / 0.7148 GB, free: 2.266 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001078/0.9263, allocations: 259.9 kB / 0.715 GB, free: 2.25 MB / 490.7 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 (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.0008183/0.9272, allocations: 312.7 kB / 0.7153 GB, free: 2.125 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.9285, allocations: 0.5594 MB / 0.7158 GB, free: 2.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9285, allocations: 1.312 kB / 0.7158 GB, free: 2.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.9296, allocations: 416.2 kB / 0.7162 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.9313, allocations: 351.1 kB / 0.7166 GB, free: 1.961 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.9336, allocations: 1.633 MB / 0.7182 GB, free: 1.133 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.9342, allocations: 0.9302 MB / 0.7191 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001442/0.9357, allocations: 461.8 kB / 0.7195 GB, free: 16.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.9361, allocations: 114.8 kB / 0.7196 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.9361, allocations: 2.812 kB / 0.7196 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.02947/0.9656, allocations: 16.74 MB / 0.736 GB, free: 10.07 MB / 0.4948 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches