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.0009786/0.0009786, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009345/0.0009345, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9296/0.9296, allocations: 177 MB / 204.8 MB, free: 5.594 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.2487/0.2487, allocations: 34.87 MB / 296.3 MB, free: 496 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 3.366e-06/3.366e-06, allocations: 3.984 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.122e-05, allocations: 6.25 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.006327/0.006358, allocations: 2.101 MB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.01057, allocations: 0.5844 MB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.0107, allocations: 3.938 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.01084, allocations: 19.8 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.01097, allocations: 43.56 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.01139, allocations: 83.81 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.01164, allocations: 187.2 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.01177, allocations: 33.78 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.01201, allocations: 111.8 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.01215, allocations: 71.78 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.01219, allocations: 16 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.989e-05/0.01225, allocations: 16 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.01229, allocations: 27.91 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.01235, allocations: 59.83 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.01259, allocations: 135.5 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.0126, allocations: 0 / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0126, allocations: 0 / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.0126, allocations: 4 kB / 382.3 MB, free: 14.56 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.003718/0.01632, allocations: 476.1 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.01636, allocations: 12.03 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.01654, allocations: 32.84 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.01678, allocations: 164.9 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.0168, allocations: 8.609 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.01684, allocations: 12.38 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.01719, allocations: 214.9 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.0172, allocations: 7.922 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.01722, allocations: 4 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01723, allocations: 4 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.0174, allocations: 82 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.01823, allocations: 0.7168 MB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.01847, allocations: 103.1 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/0.01855, allocations: 39.97 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.01858, allocations: 8 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.01861, allocations: 45.33 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.01861, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.003981/0.02259, allocations: 287.5 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.02262, allocations: 55.41 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.02276, allocations: 199.3 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.02278, allocations: 33.7 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.02286, allocations: 167.1 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.02291, allocations: 71.36 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.02299, allocations: 43.36 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.02312, allocations: 0.4923 MB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.02321, allocations: 35.92 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.02331, allocations: 78.66 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.02352, allocations: 121.9 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.02352, allocations: 0 / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002888/0.02381, allocations: 149.5 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.02382, allocations: 8.094 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.02383, allocations: 4 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.02384, allocations: 0 / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.0241, allocations: 51.91 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.0241, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.0242, allocations: 8 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.02423, allocations: 11.98 kB / 386 MB, free: 10.59 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 0.0001017/0.02433, allocations: 168.5 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.02438, allocations: 23.91 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.02442, allocations: 21.12 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.02442, allocations: 4 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.02443, allocations: 3.938 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02443, allocations: 3.984 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.02817, allocations: 0.5061 MB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.02817, allocations: 0 / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.02837, allocations: 43.91 kB / 386.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.02837, allocations: 4 kB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.02839, allocations: 3.938 kB / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.02839, allocations: 4 kB / 386.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02839, allocations: 0 / 386.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.02867, allocations: 295 kB / 387 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.02874, allocations: 31.88 kB / 387.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.02876, allocations: 3.938 kB / 387.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.02888, allocations: 12 kB / 387.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.02894, allocations: 15.97 kB / 387.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.02896, allocations: 7.984 kB / 387.1 MB, free: 9.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.989e-05/0.02903, allocations: 149.6 kB / 387.2 MB, free: 9.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02903, allocations: 4 kB / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.02929, allocations: 36 kB / 387.3 MB, free: 9.188 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 0.0001068/0.02939, allocations: 103.2 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.02963, allocations: 99.58 kB / 387.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02963, allocations: 4 kB / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.735e-05/0.02973, allocations: 63.59 kB / 387.6 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.03004, allocations: 27.98 kB / 387.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.03415, allocations: 362.8 kB / 387.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.0342, allocations: 68.58 kB / 388 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.03434, allocations: 33.47 kB / 388 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.03443, allocations: 24.48 kB / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.03443, allocations: 0 / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of Templates: time 0.004052/0.03848, allocations: 2.077 MB / 390.1 MB, free: 6.301 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: 3.002270040102303]