Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 196.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008616/0.0008614, allocations: 95.38 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3262/0.3262, allocations: 44.99 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2933, allocations: 63.09 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002554/0.2959, allocations: 1.762 MB / 0.5231 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.297, allocations: 0.7696 MB / 0.5238 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2971, allocations: 7.938 kB / 0.5238 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.2973, allocations: 13.38 kB / 0.5239 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2974, allocations: 37.06 kB / 0.5239 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.2977, allocations: 67.23 kB / 0.524 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.298, allocations: 185.1 kB / 0.5241 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2981, allocations: 31.84 kB / 0.5242 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2983, allocations: 85.95 kB / 0.5242 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2984, allocations: 72.56 kB / 0.5243 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.2985, allocations: 8.469 kB / 0.5243 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.2985, allocations: 8.188 kB / 0.5243 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.2986, allocations: 39.72 kB / 0.5244 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.2987, allocations: 93.98 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2988, allocations: 172.5 kB / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2989, allocations: 0 / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2989, allocations: 0 / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2989, allocations: 0 / 0.5246 GB, free: 36.11 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.0007054/0.2996, allocations: 440.7 kB / 0.525 GB, free: 35.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2996, allocations: 9.906 kB / 0.5251 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.2998, allocations: 33.58 kB / 0.5251 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3, allocations: 214.3 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3, allocations: 10.53 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.3001, allocations: 13.19 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.3004, allocations: 179.6 kB / 0.5255 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3004, allocations: 0 / 0.5255 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.3005, allocations: 6.906 kB / 0.5255 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3005, allocations: 2.75 kB / 0.5255 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.3008, allocations: 114.9 kB / 0.5256 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.3016, allocations: 0.7053 MB / 0.5263 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.302, allocations: 142.5 kB / 0.5264 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.3022, allocations: 66.97 kB / 0.5265 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3022, allocations: 4.188 kB / 0.5265 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.3022, allocations: 41.44 kB / 0.5265 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.3022, allocations: 0 / 0.5265 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001179/0.3034, allocations: 437.1 kB / 0.527 GB, free: 34.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.3034, allocations: 58.75 kB / 0.527 GB, free: 34.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.3035, allocations: 159.1 kB / 0.5272 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3036, allocations: 29.7 kB / 0.5272 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.3036, allocations: 123.8 kB / 0.5273 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3037, allocations: 66.45 kB / 0.5274 GB, free: 34.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.3037, allocations: 4 kB / 0.5274 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.3037, allocations: 331.7 kB / 0.5277 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3039, allocations: 72.42 kB / 0.5278 GB, free: 33.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.3041, allocations: 111 kB / 0.5279 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3045, allocations: 190.2 kB / 0.528 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3045, allocations: 2.906 kB / 0.528 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004257/0.3049, allocations: 231.5 kB / 0.5283 GB, free: 33.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3049, allocations: 12.72 kB / 0.5283 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3049, allocations: 2.469 kB / 0.5283 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.305, allocations: 0 / 0.5283 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.3052, allocations: 50.31 kB / 0.5283 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.3052, allocations: 6.844 kB / 0.5283 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.3054, allocations: 18.45 kB / 0.5284 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.3054, allocations: 10.09 kB / 0.5284 GB, free: 33.41 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.89e-05/0.3055, allocations: 127.7 kB / 0.5285 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.3056, allocations: 16.31 kB / 0.5285 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.3056, allocations: 22.91 kB / 0.5285 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3056, allocations: 2.75 kB / 0.5285 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3056, allocations: 0 / 0.5285 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3056, allocations: 0 / 0.5285 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/0.3065, allocations: 0.6478 MB / 0.5292 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3065, allocations: 0 / 0.5292 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.3067, allocations: 48.25 kB / 0.5292 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3068, allocations: 7.031 kB / 0.5292 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3068, allocations: 0 / 0.5292 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3068, allocations: 0 / 0.5292 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3068, allocations: 2.844 kB / 0.5292 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.3072, allocations: 324.4 kB / 0.5295 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.3073, allocations: 100.3 kB / 0.5296 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.3073, allocations: 11.94 kB / 0.5296 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.3075, allocations: 22.52 kB / 0.5297 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.3076, allocations: 12.77 kB / 0.5297 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3076, allocations: 11.12 kB / 0.5297 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.81e-05/0.3077, allocations: 115.8 kB / 0.5298 GB, free: 32.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3077, allocations: 0 / 0.5298 GB, free: 32.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.3079, allocations: 40.5 kB / 0.5298 GB, free: 32.36 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.588e-05/0.308, allocations: 110.3 kB / 0.5299 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.3085, allocations: 186.4 kB / 0.5301 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3085, allocations: 10.31 kB / 0.5301 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.3087, allocations: 95.94 kB / 0.5302 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.309, allocations: 19.95 kB / 0.5302 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.3097, allocations: 473.4 kB / 0.5307 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3098, allocations: 0.7212 MB / 0.5314 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.31, allocations: 20.64 kB / 0.5314 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.3101, allocations: 23.55 kB / 0.5314 GB, free: 31.16 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3101, allocations: 0 / 0.5314 GB, free: 31.16 MB / 378.7 MB Notification: Performance of Templates: time 0.004304/0.3144, allocations: 1.853 MB / 0.5332 GB, free: 31.02 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches