Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 170.4 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007409/0.0007408, allocations: 88.25 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3979/0.3979, allocations: 43.67 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003153, allocations: 16 kB / 432.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 58.84 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3883/0.5073, allocations: 173.6 MB / 0.6492 GB, free: 6.852 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.5196, allocations: 12.07 MB / 0.661 GB, free: 9.801 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008505/0.5205, allocations: 27.75 kB / 0.661 GB, free: 9.773 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008208/0.5213, allocations: 270.5 kB / 0.6613 GB, free: 9.508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.525, allocations: 1.321 MB / 0.6626 GB, free: 8.188 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.5279, allocations: 1.009 MB / 0.6636 GB, free: 7.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.5308, allocations: 2.706 MB / 0.6662 GB, free: 4.469 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.5314, allocations: 406.9 kB / 0.6666 GB, free: 4.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.5339, allocations: 1.113 MB / 0.6677 GB, free: 2.953 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009951/0.5349, allocations: 0.6773 MB / 0.6683 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-05/0.535, allocations: 32 kB / 0.6684 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.5366, allocations: 0.6604 MB / 0.669 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002838/0.5369, allocations: 235.3 kB / 0.6692 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.5374, allocations: 403.8 kB / 0.6696 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2857/0.823, allocations: 1.367 MB / 0.671 GB, free: 22.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8231, allocations: 1.172 kB / 0.671 GB, free: 22.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.8231, allocations: 1.031 kB / 0.671 GB, free: 22.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.207e-05/0.8231, allocations: 0 / 0.671 GB, free: 22.21 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.002275/0.8254, allocations: 0.9753 MB / 0.6719 GB, free: 21.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8254, allocations: 10.62 kB / 0.6719 GB, free: 21.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008141/0.8263, allocations: 133.2 kB / 0.6721 GB, free: 21.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007833/0.8271, allocations: 0.5068 MB / 0.6726 GB, free: 21.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.8272, allocations: 104 kB / 0.6727 GB, free: 21.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.8273, allocations: 52.59 kB / 0.6727 GB, free: 21.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.8288, allocations: 0.8115 MB / 0.6735 GB, free: 21.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.8288, allocations: 4.844 kB / 0.6735 GB, free: 21.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.579e-05/0.8289, allocations: 24.94 kB / 0.6735 GB, free: 21.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.829, allocations: 43.62 kB / 0.6736 GB, free: 21.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.8301, allocations: 0.6115 MB / 0.6742 GB, free: 21.15 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.003726/0.8338, allocations: 3.977 MB / 0.678 GB, free: 18.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.8344, allocations: 361.4 kB / 0.6784 GB, free: 18.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.8346, allocations: 170.8 kB / 0.6786 GB, free: 18.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003814/0.835, allocations: 361.7 kB / 0.6789 GB, free: 18.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.8351, allocations: 40.52 kB / 0.6789 GB, free: 18.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.8351, allocations: 0 / 0.6789 GB, free: 18.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005134/0.8402, allocations: 1.671 MB / 0.6806 GB, free: 17.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.8403, allocations: 132.5 kB / 0.6807 GB, free: 17.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/0.8409, allocations: 0.6134 MB / 0.6813 GB, free: 17.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.8409, allocations: 33.42 kB / 0.6813 GB, free: 17.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.8411, allocations: 364.1 kB / 0.6817 GB, free: 17.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.8412, allocations: 142.8 kB / 0.6818 GB, free: 17.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.8413, allocations: 12.91 kB / 0.6818 GB, free: 17.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8414, allocations: 380.6 kB / 0.6822 GB, free: 16.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.8417, allocations: 196.9 kB / 0.6824 GB, free: 16.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.8422, allocations: 0.5109 MB / 0.6829 GB, free: 16.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.843, allocations: 0.7424 MB / 0.6836 GB, free: 15.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.843, allocations: 3.062 kB / 0.6836 GB, free: 15.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001366/0.8444, allocations: 0.8827 MB / 0.6845 GB, free: 15.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.8444, allocations: 9.094 kB / 0.6845 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.8444, allocations: 9.938 kB / 0.6845 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.8458, allocations: 322.2 kB / 0.6848 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.8462, allocations: 123.9 kB / 0.6849 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009003/0.8471, allocations: 0.9276 MB / 0.6858 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.8476, allocations: 42.64 kB / 0.6859 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.8477, allocations: 73.2 kB / 0.6859 GB, free: 15.33 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.0002748/0.848, allocations: 248.6 kB / 0.6862 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.8481, allocations: 69.5 kB / 0.6862 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.8494, allocations: 0.6722 MB / 0.6869 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.8495, allocations: 7.5 kB / 0.6869 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8495, allocations: 5 kB / 0.6869 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.8495, allocations: 2.766 kB / 0.6869 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.8513, allocations: 1.605 MB / 0.6885 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8513, allocations: 2.531 kB / 0.6885 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/0.8523, allocations: 205.4 kB / 0.6887 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-05/0.8524, allocations: 29.17 kB / 0.6887 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.8525, allocations: 19.06 kB / 0.6887 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.8538, allocations: 2.687 MB / 0.6913 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8538, allocations: 4.062 kB / 0.6913 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.8549, allocations: 0.8087 MB / 0.6921 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.8551, allocations: 191.4 kB / 0.6923 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.8552, allocations: 14.39 kB / 0.6923 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.8557, allocations: 25.3 kB / 0.6923 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/0.8558, allocations: 39.22 kB / 0.6924 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.8558, allocations: 47.5 kB / 0.6924 GB, free: 11.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004357/0.8563, allocations: 438.5 kB / 0.6928 GB, free: 11.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8563, allocations: 0 / 0.6928 GB, free: 11.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008858/0.8572, allocations: 289.5 kB / 0.6931 GB, free: 11.27 MB / 490.7 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.0007773/0.858, allocations: 385.5 kB / 0.6935 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.859, allocations: 0.5332 MB / 0.694 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.859, allocations: 4 kB / 0.694 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008785/0.8599, allocations: 420.3 kB / 0.6944 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.8615, allocations: 356.6 kB / 0.6948 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.8633, allocations: 1.607 MB / 0.6963 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.8638, allocations: 0.9345 MB / 0.6972 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009819/0.8648, allocations: 260 kB / 0.6975 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.8651, allocations: 101.1 kB / 0.6976 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.8651, allocations: 0 / 0.6976 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.02949/0.8946, allocations: 17.66 MB / 0.7148 GB, free: 21.46 MB / 0.4948 GB 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