Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001294, allocations: 174.2 kB / 17.41 MB, free: 4.414 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.353/1.353, allocations: 225.7 MB / 243.9 MB, free: 8.426 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.0007389/0.0007388, allocations: 91.22 kB / 295 MB, free: 9.469 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.3187/0.3187, allocations: 44.32 MB / 390.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003113, allocations: 12 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3077, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002048/0.3098, allocations: 1.742 MB / 0.5144 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.3106, allocations: 0.5005 MB / 0.5149 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.929e-05/0.3107, allocations: 3.406 kB / 0.5149 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.513e-05/0.3108, allocations: 18.48 kB / 0.5149 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.888e-05/0.3109, allocations: 36.62 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.3112, allocations: 65.12 kB / 0.515 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3114, allocations: 184.5 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3115, allocations: 42.31 kB / 0.5153 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3117, allocations: 75.52 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3118, allocations: 73.97 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.3118, allocations: 8.75 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.653e-05/0.3119, allocations: 5.719 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.3119, allocations: 29.55 kB / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.312, allocations: 97.22 kB / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.3122, allocations: 174.3 kB / 0.5157 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3122, allocations: 3.234 kB / 0.5157 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3122, allocations: 0.6562 kB / 0.5157 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3122, allocations: 0 / 0.5157 GB, free: 35.96 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006161/0.3128, allocations: 436.9 kB / 0.5161 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3129, allocations: 8.594 kB / 0.5161 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.3129, allocations: 18.25 kB / 0.5161 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3131, allocations: 212.1 kB / 0.5164 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3131, allocations: 9.375 kB / 0.5164 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.3132, allocations: 17.06 kB / 0.5164 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.3135, allocations: 177 kB / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3136, allocations: 0 / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3136, allocations: 7.031 kB / 0.5166 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3136, allocations: 2.75 kB / 0.5166 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.3139, allocations: 115.8 kB / 0.5167 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.3146, allocations: 0.7013 MB / 0.5173 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.315, allocations: 162.5 kB / 0.5175 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3152, allocations: 64.88 kB / 0.5176 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.3152, allocations: 3.938 kB / 0.5176 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3152, allocations: 37.25 kB / 0.5176 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3152, allocations: 4 kB / 0.5176 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001233/0.3165, allocations: 433 kB / 0.518 GB, free: 34.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.3165, allocations: 54.2 kB / 0.5181 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3166, allocations: 153 kB / 0.5182 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3166, allocations: 31.7 kB / 0.5182 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.3167, allocations: 127.2 kB / 0.5184 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.3167, allocations: 65.19 kB / 0.5184 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.3168, allocations: 5.031 kB / 0.5184 GB, free: 33.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.3168, allocations: 326.4 kB / 0.5187 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.317, allocations: 84.16 kB / 0.5188 GB, free: 33.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.3172, allocations: 104.7 kB / 0.5189 GB, free: 33.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.3176, allocations: 192.9 kB / 0.5191 GB, free: 33.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3177, allocations: 1.5 kB / 0.5191 GB, free: 33.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004664/0.3181, allocations: 230 kB / 0.5193 GB, free: 33.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3182, allocations: 6.25 kB / 0.5193 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3182, allocations: 0 / 0.5193 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3182, allocations: 6.625 kB / 0.5193 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.3185, allocations: 60.42 kB / 0.5194 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3185, allocations: 0.6562 kB / 0.5194 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.3187, allocations: 14.69 kB / 0.5194 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3187, allocations: 8.266 kB / 0.5194 GB, free: 33.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.3188, allocations: 141.5 kB / 0.5196 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.3188, allocations: 16.73 kB / 0.5196 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.3189, allocations: 25.25 kB / 0.5196 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3189, allocations: 2.969 kB / 0.5196 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3189, allocations: 0.6562 kB / 0.5196 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3189, allocations: 5.391 kB / 0.5196 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.3197, allocations: 0.6432 MB / 0.5202 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3198, allocations: 4 kB / 0.5202 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.32, allocations: 52.73 kB / 0.5203 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.32, allocations: 6.969 kB / 0.5203 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.32, allocations: 4 kB / 0.5203 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.32, allocations: 0 / 0.5203 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.32, allocations: 2.906 kB / 0.5203 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.3205, allocations: 314 kB / 0.5206 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.3206, allocations: 101.9 kB / 0.5207 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3206, allocations: 10.84 kB / 0.5207 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3208, allocations: 21.17 kB / 0.5207 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.3209, allocations: 15.34 kB / 0.5207 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3209, allocations: 5.062 kB / 0.5208 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.321, allocations: 114.4 kB / 0.5209 GB, free: 32.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.321, allocations: 0 / 0.5209 GB, free: 32.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.3212, allocations: 38.25 kB / 0.5209 GB, free: 32.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.904e-05/0.3213, allocations: 105.2 kB / 0.521 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.3217, allocations: 187.8 kB / 0.5212 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3218, allocations: 0 / 0.5212 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.322, allocations: 98.62 kB / 0.5213 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3223, allocations: 26.84 kB / 0.5213 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/0.3229, allocations: 481.4 kB / 0.5218 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.323, allocations: 0.7245 MB / 0.5225 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.3232, allocations: 25.88 kB / 0.5225 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.3233, allocations: 17.78 kB / 0.5225 GB, free: 31 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3233, allocations: 0 / 0.5225 GB, free: 31 MB / 378.7 MB Notification: Performance of Templates: time 0.003739/0.3271, allocations: 1.848 MB / 0.5243 GB, free: 30.86 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches