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.001942/0.001942, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.002709/0.002709, allocations: 211.5 kB / 24.48 MB, free: 3.957 MB / 14.72 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 1.596/1.596, allocations: 230.5 MB / 258.1 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.3298/0.3298, allocations: 46.96 MB / 361.6 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002755/0.002755, allocations: 87.84 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3617, allocations: 66.09 MB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.004163/0.3659, allocations: 1.998 MB / 0.5639 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3673, allocations: 0.5737 MB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.3674, allocations: 0 / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.3676, allocations: 19.8 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3677, allocations: 39.64 kB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.3681, allocations: 91.81 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.3684, allocations: 187.3 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3686, allocations: 29.72 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.3688, allocations: 87.7 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3689, allocations: 75.66 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.369, allocations: 12 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.369, allocations: 16 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.3691, allocations: 35.84 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.3692, allocations: 63.72 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3694, allocations: 193.7 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3695, allocations: 0 / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3695, allocations: 0 / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3695, allocations: 0 / 0.5652 GB, free: 0.5547 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.0008303/0.3703, allocations: 385.8 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3703, allocations: 8.031 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.3705, allocations: 24.84 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.3708, allocations: 162.8 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3708, allocations: 8.609 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.3709, allocations: 16.12 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.3713, allocations: 213.2 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3713, allocations: 3.953 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3713, allocations: 4 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3713, allocations: 7.938 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.3716, allocations: 111.9 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009267/0.3726, allocations: 0.5941 MB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.3729, allocations: 130.5 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.3731, allocations: 56.83 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3731, allocations: 4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3731, allocations: 42.5 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3731, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001364/0.3745, allocations: 404.5 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3745, allocations: 55.41 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3747, allocations: 154.2 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.3747, allocations: 29.7 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.3748, allocations: 116.4 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.984e-05/0.3749, allocations: 71.42 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.375, allocations: 41.66 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3751, allocations: 326.8 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3753, allocations: 59.95 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.3756, allocations: 107.4 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.376, allocations: 174.1 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.376, allocations: 0 / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005015/0.3765, allocations: 213.4 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3765, allocations: 8 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3765, allocations: 0 / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3765, allocations: 0 / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.3768, allocations: 55.91 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3768, allocations: 3.984 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.377, allocations: 16.02 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.377, allocations: 12 kB / 0.5687 GB, free: 12.77 MB / 414.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.0001405/0.3772, allocations: 129.8 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3772, allocations: 19.89 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.3773, allocations: 21.12 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3773, allocations: 0 / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3773, allocations: 0 / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3773, allocations: 3.938 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/0.3783, allocations: 0.5321 MB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3783, allocations: 7.922 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.3785, allocations: 47.89 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3785, allocations: 0 / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3786, allocations: 8 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3786, allocations: 0 / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3786, allocations: 0 / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.3791, allocations: 310 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.3792, allocations: 31.83 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.3792, allocations: 3.984 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3794, allocations: 15.98 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.3795, allocations: 11.98 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.3795, allocations: 7.984 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.948e-05/0.3796, allocations: 115.9 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 0 / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3799, allocations: 44 kB / 0.57 GB, free: 11.41 MB / 414.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.0001318/0.38, allocations: 95.25 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.3805, allocations: 163.8 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3805, allocations: 0 / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.3807, allocations: 88.02 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.381, allocations: 23.92 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.3818, allocations: 391.6 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.3819, allocations: 104 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.382, allocations: 15.44 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.382, allocations: 0 / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of Templates: time 0.00444/0.3864, allocations: 2.196 MB / 0.573 GB, free: 8.293 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.950014377944171]