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.001604/0.001604, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.12 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 75.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3176, allocations: 62.44 MB / 0.5317 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003188/0.3209, allocations: 2.064 MB / 0.5337 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.3219, allocations: 0.6079 MB / 0.5343 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.322, allocations: 2.062 kB / 0.5343 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.3221, allocations: 22.17 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.271e-05/0.3222, allocations: 40.34 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.3226, allocations: 82.14 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3228, allocations: 188.4 kB / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3229, allocations: 42.86 kB / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.3231, allocations: 85.94 kB / 0.5347 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3232, allocations: 77.88 kB / 0.5348 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.3233, allocations: 13.75 kB / 0.5348 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.251e-05/0.3233, allocations: 20.48 kB / 0.5348 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.3234, allocations: 35.97 kB / 0.5349 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.3235, allocations: 81.64 kB / 0.5349 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.3237, allocations: 179 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3237, allocations: 1.375 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3237, allocations: 0 / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3237, allocations: 0 / 0.5351 GB, free: 11.11 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.0007149/0.3245, allocations: 459.3 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3245, allocations: 17.56 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.3247, allocations: 26.58 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3249, allocations: 219.3 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3249, allocations: 12.73 kB / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.325, allocations: 16.38 kB / 0.5358 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.3253, allocations: 169.9 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3253, allocations: 13.02 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3254, allocations: 5.188 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3254, allocations: 7.172 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.3257, allocations: 104.6 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/0.3265, allocations: 0.6826 MB / 0.5368 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.3269, allocations: 140.9 kB / 0.5369 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.327, allocations: 57.31 kB / 0.537 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.3271, allocations: 9.094 kB / 0.537 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3271, allocations: 35.7 kB / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3271, allocations: 0 / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001554/0.3286, allocations: 404.5 kB / 0.5374 GB, free: 9.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.3287, allocations: 53.75 kB / 0.5375 GB, free: 9.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3288, allocations: 158.3 kB / 0.5376 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3289, allocations: 30.8 kB / 0.5376 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.3289, allocations: 119.3 kB / 0.5377 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.329, allocations: 70.98 kB / 0.5378 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.3291, allocations: 38.05 kB / 0.5378 GB, free: 8.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3292, allocations: 329.9 kB / 0.5382 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3294, allocations: 67.55 kB / 0.5382 GB, free: 8.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3296, allocations: 99.67 kB / 0.5383 GB, free: 8.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.33, allocations: 173.3 kB / 0.5385 GB, free: 8.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.33, allocations: 1.312 kB / 0.5385 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004774/0.3305, allocations: 222.5 kB / 0.5387 GB, free: 8.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3305, allocations: 9.594 kB / 0.5387 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3305, allocations: 1.125 kB / 0.5387 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3306, allocations: 5.062 kB / 0.5387 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.3308, allocations: 45.06 kB / 0.5388 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3309, allocations: 5.906 kB / 0.5388 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.331, allocations: 15.11 kB / 0.5388 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3311, allocations: 5.125 kB / 0.5388 GB, free: 8.047 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.000105/0.3312, allocations: 137 kB / 0.5389 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.3312, allocations: 15.72 kB / 0.5389 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.3313, allocations: 19.41 kB / 0.5389 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3313, allocations: 0.9062 kB / 0.539 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3313, allocations: 0 / 0.539 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.3314, allocations: 107.2 kB / 0.5391 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.3314, allocations: 1.656 kB / 0.5391 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3316, allocations: 15.77 kB / 0.5391 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.3317, allocations: 26.02 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006341/0.3323, allocations: 289.5 kB / 0.5394 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005354/0.3329, allocations: 383.6 kB / 0.5397 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001976/0.3331, allocations: 81.75 kB / 0.5398 GB, free: 7.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.3332, allocations: 117.2 kB / 0.5399 GB, free: 7.121 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.3332, allocations: 0 / 0.5399 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.3337, allocations: 180.7 kB / 0.5401 GB, free: 7.008 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006643/0.3344, allocations: 0.7555 MB / 0.5408 GB, free: 6.309 MB / 398.1 MB Notification: Performance of Templates: time 1.038/1.372, allocations: 2.467 MB / 0.5432 GB, free: 5.051 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