Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009595/0.0009595, allocations: 115.6 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 208 kB / 19.41 MB, free: 3.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 79.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3352, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003632/0.3389, allocations: 2.071 MB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3401, allocations: 0.6049 MB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3402, allocations: 2.312 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.3404, allocations: 20.81 kB / 0.5343 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.886e-05/0.3405, allocations: 43.98 kB / 0.5343 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.3408, allocations: 83.42 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.3411, allocations: 187.8 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3412, allocations: 41.86 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3414, allocations: 86.16 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.3415, allocations: 82.11 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.3416, allocations: 14.25 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.315e-05/0.3417, allocations: 15.47 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.3417, allocations: 36.09 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.688e-05/0.3418, allocations: 79.36 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.342, allocations: 178.8 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.342, allocations: 5.375 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.342, allocations: 0 / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.342, allocations: 0 / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007437/0.3428, allocations: 459.3 kB / 0.5355 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3428, allocations: 9.625 kB / 0.5356 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.343, allocations: 30.48 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3432, allocations: 215.2 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3433, allocations: 4.734 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.3433, allocations: 20.36 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.3436, allocations: 174 kB / 0.536 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3436, allocations: 5.281 kB / 0.536 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3437, allocations: 5.375 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3437, allocations: 2.75 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.344, allocations: 104.2 kB / 0.5361 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.3449, allocations: 0.6905 MB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.3452, allocations: 136.4 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3453, allocations: 62.08 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3454, allocations: 5.188 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3454, allocations: 35.78 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 3.417e-06/0.3454, allocations: 0.9062 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001283/0.3467, allocations: 403.3 kB / 0.5374 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.3467, allocations: 56.56 kB / 0.5374 GB, free: 8.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3469, allocations: 155 kB / 0.5376 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3469, allocations: 31.67 kB / 0.5376 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.347, allocations: 117.3 kB / 0.5377 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.3471, allocations: 75.2 kB / 0.5378 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.3471, allocations: 38.23 kB / 0.5378 GB, free: 8.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3472, allocations: 326.3 kB / 0.5381 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.3474, allocations: 70.14 kB / 0.5382 GB, free: 8.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.3476, allocations: 92.73 kB / 0.5383 GB, free: 8.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.348, allocations: 173.5 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.348, allocations: 1.031 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004726/0.3485, allocations: 222.3 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3485, allocations: 13.12 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3485, allocations: 1.312 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3486, allocations: 2.562 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.3489, allocations: 49.02 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3489, allocations: 5.406 kB / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3491, allocations: 15.41 kB / 0.5388 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3491, allocations: 9.297 kB / 0.5388 GB, free: 7.887 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 (22): * Single equations (assignments): 22 * 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.0001072/0.3492, allocations: 128.5 kB / 0.5389 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.3492, allocations: 15.22 kB / 0.5389 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.3493, allocations: 19.72 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3493, allocations: 5.203 kB / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3493, allocations: 0 / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.3494, allocations: 106.7 kB / 0.539 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.3495, allocations: 2.281 kB / 0.539 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3497, allocations: 14.8 kB / 0.539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.3498, allocations: 18.72 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006489/0.3504, allocations: 297 kB / 0.5394 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005497/0.351, allocations: 383 kB / 0.5397 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002047/0.3512, allocations: 82.72 kB / 0.5398 GB, free: 7.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.461e-05/0.3513, allocations: 116.9 kB / 0.5399 GB, free: 6.965 MB / 398.1 MB Notification: Performance of Backend: time 5.21e-07/0.3513, allocations: 0 / 0.5399 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006085/0.3519, allocations: 184.8 kB / 0.5401 GB, free: 6.848 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007492/0.3527, allocations: 0.7491 MB / 0.5408 GB, free: 6.156 MB / 398.1 MB Notification: Performance of Templates: time 0.005432/0.3581, allocations: 2.515 MB / 0.5433 GB, free: 4.863 MB / 398.1 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/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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches