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.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008717/0.0008719, allocations: 174.6 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.283/1.283, allocations: 225.7 MB / 243.9 MB, free: 10.16 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.0007258/0.0007259, allocations: 91.45 kB / 295 MB, free: 9.707 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.312/0.312, allocations: 44.32 MB / 390.5 MB, free: 38.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 4 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3456, allocations: 61.9 MB / 0.5127 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1929/0.5385, allocations: 136.6 MB / 0.6461 GB, free: 4.828 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008569/0.5471, allocations: 7.839 MB / 0.6538 GB, free: 12.4 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006717/0.5478, allocations: 19.81 kB / 0.6538 GB, free: 12.38 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.5486, allocations: 286.5 kB / 0.6541 GB, free: 12.1 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.5502, allocations: 0.8166 MB / 0.6549 GB, free: 11.28 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.5525, allocations: 0.9276 MB / 0.6558 GB, free: 10.35 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.5548, allocations: 2.671 MB / 0.6584 GB, free: 7.676 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.5553, allocations: 401 kB / 0.6588 GB, free: 7.277 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009414/0.5563, allocations: 0.681 MB / 0.6595 GB, free: 6.594 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/0.5572, allocations: 0.7163 MB / 0.6602 GB, free: 5.875 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-05/0.5573, allocations: 36 kB / 0.6602 GB, free: 5.84 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.5583, allocations: 0.5146 MB / 0.6607 GB, free: 5.324 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.5585, allocations: 239.2 kB / 0.6609 GB, free: 5.09 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.5589, allocations: 399.9 kB / 0.6613 GB, free: 4.691 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.56, allocations: 1.085 MB / 0.6624 GB, free: 3.605 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.56, allocations: 0 / 0.6624 GB, free: 3.605 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.56, allocations: 4 kB / 0.6624 GB, free: 3.602 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.5601, allocations: 0 / 0.6624 GB, free: 3.602 MB / 474.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.001637/0.5617, allocations: 0.9193 MB / 0.6633 GB, free: 2.633 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5617, allocations: 8.031 kB / 0.6633 GB, free: 2.625 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.562, allocations: 88.09 kB / 0.6634 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006879/0.5627, allocations: 0.5131 MB / 0.6639 GB, free: 1.984 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.325e-05/0.5628, allocations: 101 kB / 0.6639 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.5629, allocations: 52.36 kB / 0.664 GB, free: 1.824 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5641, allocations: 0.8149 MB / 0.6648 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.5641, allocations: 3.938 kB / 0.6648 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.5642, allocations: 23.98 kB / 0.6648 GB, free: 0.918 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/0.5643, allocations: 36.98 kB / 0.6649 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/0.5652, allocations: 0.6517 MB / 0.6655 GB, free: 236 kB / 474.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.004015/0.5693, allocations: 3.967 MB / 0.6694 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.57, allocations: 430.3 kB / 0.6698 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.5703, allocations: 197.4 kB / 0.67 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/0.5708, allocations: 0.7366 MB / 0.6707 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.5709, allocations: 38.89 kB / 0.6707 GB, free: 10.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.5709, allocations: 0 / 0.6707 GB, free: 10.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.002862/0.5738, allocations: 1.542 MB / 0.6722 GB, free: 8.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.5738, allocations: 136.5 kB / 0.6724 GB, free: 8.625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.5744, allocations: 0.5653 MB / 0.6729 GB, free: 8.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.5745, allocations: 37.7 kB / 0.6729 GB, free: 8.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.5747, allocations: 354.9 kB / 0.6733 GB, free: 7.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.5748, allocations: 161.7 kB / 0.6734 GB, free: 7.496 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.5749, allocations: 12 kB / 0.6735 GB, free: 7.484 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.575, allocations: 378.8 kB / 0.6738 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.5754, allocations: 217.9 kB / 0.674 GB, free: 6.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.5759, allocations: 0.5084 MB / 0.6745 GB, free: 6.246 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/0.5768, allocations: 0.7484 MB / 0.6752 GB, free: 5.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5768, allocations: 7.938 kB / 0.6753 GB, free: 5.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001607/0.5784, allocations: 0.9102 MB / 0.6761 GB, free: 4.441 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5784, allocations: 11.91 kB / 0.6762 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.5784, allocations: 16.16 kB / 0.6762 GB, free: 4.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.5798, allocations: 280.5 kB / 0.6764 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.5801, allocations: 123.8 kB / 0.6766 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009594/0.5811, allocations: 0.8887 MB / 0.6774 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.5816, allocations: 43.97 kB / 0.6775 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.5816, allocations: 36.05 kB / 0.6775 GB, free: 3.023 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.5819, allocations: 264.4 kB / 0.6778 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.582, allocations: 75.09 kB / 0.6778 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.5837, allocations: 0.7567 MB / 0.6786 GB, free: 1.887 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.5837, allocations: 11.98 kB / 0.6786 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.5837, allocations: 8 kB / 0.6786 GB, free: 1.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5837, allocations: 0 / 0.6786 GB, free: 1.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.586, allocations: 1.407 MB / 0.68 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.586, allocations: 0 / 0.68 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.587, allocations: 207.9 kB / 0.6802 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.605e-05/0.5871, allocations: 28.78 kB / 0.6802 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.5872, allocations: 15.98 kB / 0.6802 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2381/0.8253, allocations: 2.67 MB / 0.6828 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.8253, allocations: 3.109 kB / 0.6828 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.8271, allocations: 1.003 MB / 0.6838 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.8274, allocations: 205.8 kB / 0.684 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.8275, allocations: 20.34 kB / 0.684 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.828, allocations: 34.98 kB / 0.684 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.8281, allocations: 34.47 kB / 0.6841 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.8281, allocations: 22.44 kB / 0.6841 GB, free: 141.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005284/0.8287, allocations: 426.2 kB / 0.6845 GB, free: 141.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8287, allocations: 2.281 kB / 0.6845 GB, free: 141.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000738/0.8294, allocations: 223.4 kB / 0.6847 GB, free: 141.1 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005475/0.83, allocations: 274.5 kB / 0.685 GB, free: 141 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.8312, allocations: 0.5929 MB / 0.6856 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8312, allocations: 2.906 kB / 0.6856 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009424/0.8321, allocations: 457.5 kB / 0.686 GB, free: 140.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.8338, allocations: 362.7 kB / 0.6863 GB, free: 140.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.8357, allocations: 1.697 MB / 0.688 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.8362, allocations: 0.9412 MB / 0.6889 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006973/0.8369, allocations: 207.5 kB / 0.6891 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.837, allocations: 68.81 kB / 0.6892 GB, free: 138.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.837, allocations: 0 / 0.6892 GB, free: 138.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02366/0.8607, allocations: 14.8 MB / 0.7036 GB, free: 137.6 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches