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.001182/0.001182, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2559/0.2559, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.35, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003231/0.3532, allocations: 2.068 MB / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3543, allocations: 0.5997 MB / 0.5336 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.3544, allocations: 2.75 kB / 0.5336 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.3545, allocations: 21.16 kB / 0.5336 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3546, allocations: 45.08 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.3551, allocations: 77.64 kB / 0.5337 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.3553, allocations: 189.6 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3555, allocations: 46.16 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.3557, allocations: 86.19 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.3558, allocations: 81.8 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.3559, allocations: 13.75 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.795e-05/0.3559, allocations: 15.03 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.356, allocations: 37.19 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.3561, allocations: 73.81 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3563, allocations: 183.5 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3563, allocations: 1.25 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3563, allocations: 4 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3563, allocations: 0 / 0.5344 GB, free: 10.93 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.0007785/0.3571, allocations: 460.3 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3572, allocations: 8.594 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3573, allocations: 31.45 kB / 0.5349 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3576, allocations: 215 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3576, allocations: 9.203 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.3577, allocations: 15.91 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.358, allocations: 171 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.358, allocations: 4.938 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.3581, allocations: 5.188 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3581, allocations: 7.125 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3584, allocations: 108.2 kB / 0.5354 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.3594, allocations: 0.6862 MB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.3598, allocations: 132.6 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3599, allocations: 61.7 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.36, allocations: 6.094 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.36, allocations: 35.5 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.494e-06/0.36, allocations: 0 / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001329/0.3613, allocations: 404.4 kB / 0.5367 GB, free: 9.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3614, allocations: 57.62 kB / 0.5368 GB, free: 8.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3615, allocations: 154.5 kB / 0.5369 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3616, allocations: 30.77 kB / 0.5369 GB, free: 8.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.3616, allocations: 118.6 kB / 0.5371 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.3617, allocations: 70.73 kB / 0.5371 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.3618, allocations: 38.08 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3619, allocations: 326.3 kB / 0.5375 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.3621, allocations: 75.17 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3623, allocations: 91.95 kB / 0.5376 GB, free: 8.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.3628, allocations: 176.5 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3628, allocations: 1.031 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005037/0.3633, allocations: 219.3 kB / 0.538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3634, allocations: 9.438 kB / 0.538 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3634, allocations: 5.281 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3634, allocations: 2.125 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.3637, allocations: 49.52 kB / 0.5381 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3637, allocations: 12.95 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.3639, allocations: 14.89 kB / 0.5381 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3639, allocations: 5.719 kB / 0.5381 GB, free: 7.875 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.0001274/0.364, allocations: 124.7 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.3641, allocations: 19.56 kB / 0.5382 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.3642, allocations: 19.59 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3642, allocations: 2.219 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3642, allocations: 13.02 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3642, allocations: 0 / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.3652, allocations: 0.6172 MB / 0.5389 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3652, allocations: 0 / 0.5389 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.3654, allocations: 40.19 kB / 0.5389 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3654, allocations: 5.359 kB / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3655, allocations: 4 kB / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3655, allocations: 1.5 kB / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3655, allocations: 0 / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.366, allocations: 310.2 kB / 0.5392 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.3661, allocations: 107.1 kB / 0.5393 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.3662, allocations: 1.469 kB / 0.5393 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.3664, allocations: 16.67 kB / 0.5393 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.3665, allocations: 17.19 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3665, allocations: 4.719 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.449e-05/0.3666, allocations: 120.6 kB / 0.5395 GB, free: 6.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3666, allocations: 0 / 0.5395 GB, free: 6.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.3669, allocations: 36.88 kB / 0.5395 GB, free: 6.699 MB / 398.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 0.0001213/0.367, allocations: 99.5 kB / 0.5396 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004768/0.3675, allocations: 164.8 kB / 0.5398 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3675, allocations: 4.188 kB / 0.5398 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.3677, allocations: 87.73 kB / 0.5398 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.3681, allocations: 35.2 kB / 0.5399 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.3689, allocations: 370 kB / 0.5402 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3692, allocations: 0.7198 MB / 0.5409 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.3694, allocations: 23.39 kB / 0.541 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.3694, allocations: 16.72 kB / 0.541 GB, free: 5.477 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3694, allocations: 4 kB / 0.541 GB, free: 5.473 MB / 398.1 MB Notification: Performance of Templates: time 0.005159/0.3746, allocations: 1.956 MB / 0.5429 GB, free: 4.492 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/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