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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009591/0.0009591, allocations: 85.81 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009327/0.0009327, allocations: 163.9 kB / 24.82 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9428/0.9428, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.265/0.265, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 180] 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=5010,variableFilter="time|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=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.922e-05, allocations: 6.953 kB / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002254/0.002273, allocations: 2.092 MB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007349/0.003008, allocations: 0.5727 MB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.751e-05/0.003096, allocations: 3.938 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.999e-05/0.003196, allocations: 27.78 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.214e-05/0.003278, allocations: 43.58 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.00353, allocations: 79.81 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.003691, allocations: 195.1 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003791, allocations: 32.66 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.00394, allocations: 115.8 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.004049, allocations: 67.84 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.004072, allocations: 16 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.467e-05/0.004117, allocations: 16 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.004142, allocations: 35.89 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.004182, allocations: 47.84 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004335, allocations: 135.5 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004337, allocations: 0 / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004337, allocations: 4 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.00434, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 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.0004388/0.004779, allocations: 488 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.00481, allocations: 12.03 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.004902, allocations: 40.77 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.005041, allocations: 153 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.005051, allocations: 12.59 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.005075, allocations: 16.31 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.00526, allocations: 199 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005271, allocations: 7.938 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.005282, allocations: 4 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.005288, allocations: 4 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.077e-05/0.005359, allocations: 55.89 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.006102, allocations: 0.694 MB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.006224, allocations: 103 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.006263, allocations: 39.67 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.006282, allocations: 4 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.006298, allocations: 33.39 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.0063, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004851/0.006785, allocations: 252 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.006807, allocations: 59.41 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.006896, allocations: 207.4 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.006911, allocations: 29.7 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.006979, allocations: 171.1 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.00701, allocations: 67.36 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.007058, allocations: 43.34 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.007178, allocations: 0.4962 MB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.007219, allocations: 23.97 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.007274, allocations: 70.64 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/0.007372, allocations: 102.7 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007373, allocations: 4 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001509/0.007524, allocations: 144.7 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.007536, allocations: 4 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00754, allocations: 0 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.00755, allocations: 4 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.007683, allocations: 47.84 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.007688, allocations: 7.984 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.00774, allocations: 8 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.00775, allocations: 8.094 kB / 386.3 MB, free: 10.47 MB / 362.7 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 7.451e-05/0.007824, allocations: 168.5 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.007855, allocations: 23.91 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.00788, allocations: 21.11 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007882, allocations: 4 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.007883, allocations: 0 / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007886, allocations: 0 / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.008276, allocations: 483.1 kB / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008277, allocations: 4 kB / 387 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-05/0.008375, allocations: 39.92 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.008377, allocations: 3.984 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.008386, allocations: 4 kB / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.008388, allocations: 8 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.00839, allocations: 3.938 kB / 387 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.008577, allocations: 275.1 kB / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.008628, allocations: 27.89 kB / 387.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.008648, allocations: 4 kB / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.008735, allocations: 19.97 kB / 387.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.008774, allocations: 23.84 kB / 387.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.008784, allocations: 4 kB / 387.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.539e-05/0.008829, allocations: 149.4 kB / 387.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008829, allocations: 0 / 387.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.008996, allocations: 36 kB / 387.5 MB, free: 9.133 MB / 362.7 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 6.713e-05/0.009063, allocations: 95.25 kB / 387.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.009193, allocations: 99.52 kB / 387.7 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.009195, allocations: 4.188 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.009248, allocations: 59.59 kB / 387.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.009442, allocations: 20 kB / 387.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.01007, allocations: 354.5 kB / 388.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.01011, allocations: 76.56 kB / 388.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.752e-05/0.0102, allocations: 29.42 kB / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.01032, allocations: 106.2 kB / 388.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01032, allocations: 0 / 388.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of Templates: time 0.003514/0.01383, allocations: 2.155 MB / 390.5 MB, free: 6.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9492477807216346]