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.001454/0.001454, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.9 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.2193/0.2193, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3575, 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.003679/0.3612, allocations: 2.069 MB / 0.533 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3625, allocations: 0.6011 MB / 0.5336 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.3627, allocations: 1.375 kB / 0.5336 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.3628, allocations: 17.17 kB / 0.5336 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.363, allocations: 41.12 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.3636, allocations: 82.95 kB / 0.5337 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.364, allocations: 186.9 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.3642, allocations: 43.22 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.3645, allocations: 78.14 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.3647, allocations: 86.23 kB / 0.5341 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.3648, allocations: 16.56 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.3649, allocations: 24.19 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.3649, allocations: 35.88 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.365, allocations: 71.16 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3653, allocations: 187 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3653, allocations: 1.188 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3653, allocations: 0 / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3654, 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.0009288/0.3663, allocations: 467.7 kB / 0.5349 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3664, allocations: 9.812 kB / 0.5349 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.3666, allocations: 22.38 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.3669, allocations: 208 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3669, allocations: 9.297 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.3669, allocations: 19.97 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.3673, allocations: 165.8 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3673, allocations: 5.031 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3673, allocations: 6.281 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3673, allocations: 2.312 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.3677, allocations: 112.1 kB / 0.5354 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.3686, allocations: 0.6837 MB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.369, allocations: 147.9 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3691, allocations: 53.25 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.3692, allocations: 5.5 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3692, allocations: 40.02 kB / 0.5363 GB, free: 9.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.3692, allocations: 0 / 0.5363 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001481/0.3707, allocations: 403.4 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3708, allocations: 54.5 kB / 0.5368 GB, free: 8.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3709, allocations: 157.7 kB / 0.5369 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.371, allocations: 30.95 kB / 0.5369 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.3711, allocations: 122.3 kB / 0.5371 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.3711, allocations: 62.48 kB / 0.5371 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.3712, allocations: 38.89 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3714, allocations: 325.3 kB / 0.5375 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3716, allocations: 67.52 kB / 0.5375 GB, free: 8.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.3718, allocations: 104.2 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.3723, allocations: 169.3 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3723, allocations: 5 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006043/0.3729, allocations: 218.5 kB / 0.538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3729, allocations: 9.25 kB / 0.538 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.373, allocations: 5 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.373, allocations: 2.062 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.3733, allocations: 53.09 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3733, allocations: 6.219 kB / 0.5381 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3735, allocations: 14.61 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3736, allocations: 4.719 kB / 0.5381 GB, free: 7.879 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.0001571/0.3737, allocations: 133 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.3738, allocations: 16.22 kB / 0.5382 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.3739, allocations: 19.59 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3739, allocations: 6.766 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.3739, allocations: 7.938 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3739, allocations: 0 / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.375, allocations: 0.6133 MB / 0.5389 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.375, allocations: 1.531 kB / 0.5389 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.3753, allocations: 47.56 kB / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3753, allocations: 0 / 0.5389 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3753, allocations: 5.375 kB / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3754, allocations: 1.312 kB / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3754, allocations: 0 / 0.5389 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.3759, allocations: 302.5 kB / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.376, allocations: 107.2 kB / 0.5393 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.3761, allocations: 4.906 kB / 0.5393 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3763, allocations: 15.48 kB / 0.5393 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.3764, allocations: 10.52 kB / 0.5393 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.3764, allocations: 12.05 kB / 0.5394 GB, free: 6.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3765, allocations: 108.8 kB / 0.5395 GB, free: 6.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3765, allocations: 5.031 kB / 0.5395 GB, free: 6.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000398/0.3769, allocations: 39.47 kB / 0.5395 GB, free: 6.707 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.0001365/0.3771, allocations: 101 kB / 0.5396 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005514/0.3776, allocations: 167.5 kB / 0.5398 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3776, allocations: 1 kB / 0.5398 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.3779, allocations: 87.64 kB / 0.5398 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3782, allocations: 35.48 kB / 0.5399 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.379, allocations: 367.3 kB / 0.5402 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3793, allocations: 0.719 MB / 0.5409 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.3795, allocations: 30.78 kB / 0.541 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.3796, allocations: 20.12 kB / 0.541 GB, free: 5.473 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3796, allocations: 1.375 kB / 0.541 GB, free: 5.473 MB / 398.1 MB Notification: Performance of Templates: time 0.005431/0.385, allocations: 2 MB / 0.5429 GB, free: 4.465 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