Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001091, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.00104/0.00104, allocations: 185.9 kB / 19.38 MB, free: 3.672 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.376/1.376, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2059/0.2059, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3381, allocations: 60.81 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003244/0.3414, allocations: 2.078 MB / 0.5216 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3426, allocations: 0.5419 MB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.3427, allocations: 2.625 kB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.3429, allocations: 19.28 kB / 0.5221 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.343, allocations: 42.14 kB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.3434, allocations: 71.59 kB / 0.5223 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.3437, allocations: 193.4 kB / 0.5224 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.3439, allocations: 41.97 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.3441, allocations: 89.81 kB / 0.5226 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3442, allocations: 83.75 kB / 0.5226 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.3443, allocations: 13.78 kB / 0.5227 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.391e-05/0.3443, allocations: 15.03 kB / 0.5227 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.3443, allocations: 36.69 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.3444, allocations: 76.94 kB / 0.5228 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.3447, allocations: 184.2 kB / 0.523 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3448, allocations: 1.125 kB / 0.523 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3448, allocations: 4 kB / 0.523 GB, free: 1.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3448, allocations: 0 / 0.523 GB, free: 1.383 MB / 382.1 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.0007417/0.3455, allocations: 470.2 kB / 0.5234 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3456, allocations: 8.688 kB / 0.5234 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.3456, allocations: 18.5 kB / 0.5234 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3459, allocations: 212.7 kB / 0.5236 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3459, allocations: 8.844 kB / 0.5237 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.3459, allocations: 20.92 kB / 0.5237 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.3463, allocations: 163.6 kB / 0.5238 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3463, allocations: 1.938 kB / 0.5238 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3463, allocations: 5.094 kB / 0.5238 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3463, allocations: 3.5 kB / 0.5238 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.3466, allocations: 119.7 kB / 0.524 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007837/0.3474, allocations: 0.6949 MB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.3479, allocations: 145.9 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.348, allocations: 71.36 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3481, allocations: 5.156 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3481, allocations: 32.5 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3481, allocations: 4 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001378/0.3495, allocations: 417 kB / 0.5253 GB, free: 15.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3495, allocations: 54.25 kB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3497, allocations: 157.5 kB / 0.5255 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3497, allocations: 31.42 kB / 0.5255 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.3498, allocations: 120.3 kB / 0.5256 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.3499, allocations: 72.31 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.35, allocations: 38.31 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3501, allocations: 330.4 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.3503, allocations: 66.94 kB / 0.5261 GB, free: 14.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3505, allocations: 104.5 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.3509, allocations: 183.4 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.351, allocations: 0 / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005272/0.3515, allocations: 227.8 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3515, allocations: 8.562 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3515, allocations: 0.7031 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3516, allocations: 6.406 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.3519, allocations: 52.19 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3519, allocations: 2.672 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.3521, allocations: 14.11 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3521, allocations: 6.25 kB / 0.5267 GB, free: 14.64 MB / 398.1 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 0.0001249/0.3522, allocations: 137 kB / 0.5268 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.3523, allocations: 16.61 kB / 0.5268 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.3523, allocations: 26.5 kB / 0.5269 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3523, allocations: 0.5625 kB / 0.5269 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3523, allocations: 0 / 0.5269 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3525, allocations: 107.5 kB / 0.527 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.3525, allocations: 5.438 kB / 0.527 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3527, allocations: 15.59 kB / 0.527 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.3528, allocations: 16.84 kB / 0.527 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007326/0.3535, allocations: 300.5 kB / 0.5273 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005817/0.3541, allocations: 384 kB / 0.5276 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00022/0.3544, allocations: 95 kB / 0.5277 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.3545, allocations: 111.3 kB / 0.5278 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Backend: time 6.32e-07/0.3545, allocations: 1.312 kB / 0.5278 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.3551, allocations: 184.3 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008583/0.356, allocations: 0.7772 MB / 0.5288 GB, free: 13 MB / 398.1 MB Notification: Performance of Templates: time 0.006492/0.3625, allocations: 2.438 MB / 0.5312 GB, free: 11.82 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches