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.001326/0.001326, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001118/0.001118, allocations: 165.3 kB / 25.61 MB, free: 8.586 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.9362/0.9362, allocations: 177 MB / 205.9 MB, free: 4.418 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.1627/0.1627, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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 2.424e-06/2.424e-06, allocations: 3.984 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.193e-05, allocations: 3.844 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002689/0.002721, allocations: 2.081 MB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008507/0.003572, allocations: 0.5958 MB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.003672, allocations: 0 / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003789, allocations: 23.8 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.418e-05/0.003884, allocations: 43.56 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.004204, allocations: 79.83 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.004389, allocations: 191.2 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.004507, allocations: 37.7 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.004694, allocations: 115.8 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.004806, allocations: 59.86 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.004831, allocations: 12 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.004879, allocations: 19.98 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.004907, allocations: 39.84 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.004948, allocations: 51.89 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.00513, allocations: 139.5 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005133, allocations: 0 / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005135, allocations: 0 / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005139, allocations: 0 / 383.5 MB, free: 19.24 MB / 314.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.0004884/0.005628, allocations: 484.1 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.005665, allocations: 12.03 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.005791, allocations: 28.84 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.005949, allocations: 168.8 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.005961, allocations: 16.61 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.005988, allocations: 12.38 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.006202, allocations: 200.4 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.00622, allocations: 7.922 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.006236, allocations: 4 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.006242, allocations: 4 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.006321, allocations: 52.55 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.006841, allocations: 0.696 MB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.006989, allocations: 98.98 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.007031, allocations: 31.72 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.007052, allocations: 4 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.007072, allocations: 41.38 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.007074, allocations: 0 / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005832/0.007657, allocations: 262.1 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.007683, allocations: 55.41 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.007762, allocations: 198.9 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.007777, allocations: 29.7 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.007834, allocations: 171.1 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.007864, allocations: 63.42 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.007919, allocations: 51.23 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.00798, allocations: 0.4923 MB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.00802, allocations: 19.98 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.008077, allocations: 81.27 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.008179, allocations: 100.4 kB / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.00818, allocations: 0 / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001688/0.008349, allocations: 145.4 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.008364, allocations: 8 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.008371, allocations: 0 / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.008382, allocations: 4.094 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.008544, allocations: 43.97 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.008549, allocations: 4 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.00861, allocations: 8 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.008621, allocations: 11.92 kB / 387 MB, free: 15.42 MB / 314.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.414e-05/0.008696, allocations: 172.5 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.00873, allocations: 15.91 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.008764, allocations: 21.12 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.008769, allocations: 4 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.008772, allocations: 4 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.008777, allocations: 3.984 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.009304, allocations: 485.3 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.009307, allocations: 0 / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.009433, allocations: 39.97 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.009435, allocations: 0 / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.009445, allocations: 4 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.009448, allocations: 0 / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.009452, allocations: 15.92 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.009641, allocations: 275.7 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.009689, allocations: 27.89 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.009708, allocations: 11.98 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.00979, allocations: 4 kB / 388.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.009843, allocations: 23.91 kB / 388.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.009855, allocations: 4 kB / 388.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.009892, allocations: 153.3 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.009892, allocations: 0 / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.01008, allocations: 36 kB / 388.3 MB, free: 14.08 MB / 314.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.0001112/0.01019, allocations: 103.2 kB / 388.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.01034, allocations: 105.6 kB / 388.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01035, allocations: 0 / 388.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.0104, allocations: 55.59 kB / 388.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01065, allocations: 22.48 kB / 388.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.01145, allocations: 350.7 kB / 388.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.01149, allocations: 72.56 kB / 389 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.01159, allocations: 33.47 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.01171, allocations: 110.2 kB / 389.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.01171, allocations: 0 / 389.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of Templates: time 0.00399/0.0157, allocations: 2.208 MB / 391.4 MB, free: 11.01 MB / 314.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.321828356012702]