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.0007753/0.0007753, allocations: 96.02 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009011/0.0009012, allocations: 201.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.128/1.128, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1608/0.1608, allocations: 46.18 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002043/0.0002044, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08638, allocations: 63.57 MB / 483.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.001782/0.08819, allocations: 1.774 MB / 484.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.08896, allocations: 0.5883 MB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.08903, allocations: 0 / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.514e-05/0.08912, allocations: 19.84 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.828e-05/0.0892, allocations: 35.7 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.08949, allocations: 71.91 kB / 485.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.08967, allocations: 171.3 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.08978, allocations: 41.52 kB / 485.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.08991, allocations: 71.77 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.09003, allocations: 75.67 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.09006, allocations: 8 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.67e-05/0.09011, allocations: 11.98 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.09015, allocations: 31.84 kB / 486 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.09023, allocations: 97.3 kB / 486.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.0904, allocations: 167.6 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.09041, allocations: 4 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09042, allocations: 4 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.09042, allocations: 0 / 486.2 MB, free: 1.012 MB / 350.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.0006118/0.09104, allocations: 427.2 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.09108, allocations: 12.88 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.09121, allocations: 32.75 kB / 486.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.09139, allocations: 208.6 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.09141, allocations: 8.609 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.09145, allocations: 20.03 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.09174, allocations: 163.7 kB / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.09176, allocations: 4 kB / 487.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.09178, allocations: 8 kB / 487.1 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.09179, allocations: 3.938 kB / 487.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.09207, allocations: 111.9 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.0928, allocations: 0.6885 MB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.09309, allocations: 146.5 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.09324, allocations: 64.83 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.09327, allocations: 3.938 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.09329, allocations: 38.56 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.0933, allocations: 0 / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001177/0.09448, allocations: 428.1 kB / 488.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.09452, allocations: 59.34 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.09464, allocations: 158.1 kB / 488.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.09467, allocations: 33.7 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.09474, allocations: 124.2 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.09479, allocations: 59.11 kB / 489 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.09483, allocations: 25.7 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.09492, allocations: 326.8 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.0951, allocations: 71.95 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.0953, allocations: 99.39 kB / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.09567, allocations: 190.1 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.09568, allocations: 0 / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004426/0.09613, allocations: 229.3 kB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.09615, allocations: 8 kB / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.09616, allocations: 0 / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.09617, allocations: 4.094 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.09644, allocations: 59.89 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.09645, allocations: 3.938 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.0966, allocations: 15.98 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.09662, allocations: 8 kB / 490 MB, free: 12.97 MB / 366.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 9.469e-05/0.09672, allocations: 129.8 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.09677, allocations: 15.81 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.09681, allocations: 21.19 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.09682, allocations: 7.938 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.09683, allocations: 11.91 kB / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.09684, allocations: 0 / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.09771, allocations: 0.6318 MB / 490.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.09772, allocations: 0 / 490.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.09795, allocations: 51.91 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.09796, allocations: 0 / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.09798, allocations: 4 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.09799, allocations: 4 kB / 490.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.09799, allocations: 0 / 490.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.09845, allocations: 317.6 kB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.09853, allocations: 100.9 kB / 491.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.09856, allocations: 8 kB / 491.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.09875, allocations: 23.92 kB / 491.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.09881, allocations: 15.97 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.09883, allocations: 4 kB / 491.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.231e-05/0.09891, allocations: 119.2 kB / 491.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09891, allocations: 0 / 491.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.09916, allocations: 36 kB / 491.5 MB, free: 11.38 MB / 366.1 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 (19): * Single equations (assignments): 19 * 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 7.867e-05/0.09924, allocations: 95.25 kB / 491.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.09966, allocations: 179.8 kB / 491.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.09967, allocations: 0 / 491.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.09989, allocations: 106.6 kB / 491.9 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1002, allocations: 23.92 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.1008, allocations: 455.7 kB / 492.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.101, allocations: 0.7135 MB / 493 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.1012, allocations: 37.39 kB / 493.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.1013, allocations: 15.44 kB / 493.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1013, allocations: 0 / 493.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of Templates: time 0.003687/0.1049, allocations: 1.785 MB / 494.9 MB, free: 7.941 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches