Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00221/0.00221, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002975/0.002975, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.606/1.606, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2391/0.2391, allocations: 46.94 MB / 361.4 MB, free: 4.375 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 75.88 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3259, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003455/0.3293, allocations: 2.099 MB / 0.5637 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3304, allocations: 0.6088 MB / 0.5643 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.3305, allocations: 0 / 0.5643 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3306, allocations: 19.8 kB / 0.5643 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.3307, allocations: 47.56 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.331, allocations: 83.89 kB / 0.5644 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.3313, allocations: 183.3 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3314, allocations: 33.7 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3316, allocations: 87.7 kB / 0.5647 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3317, allocations: 87.66 kB / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.3318, allocations: 12 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.3318, allocations: 16 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.3319, allocations: 39.84 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.332, allocations: 75.66 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.3322, allocations: 185.8 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3322, allocations: 7.938 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3322, allocations: 0 / 0.5651 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3322, allocations: 0 / 0.5651 GB, free: 0.9141 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.0007592/0.333, allocations: 381.8 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.333, allocations: 8.031 kB / 0.5655 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.3332, allocations: 28.83 kB / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.3335, allocations: 166.3 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3335, allocations: 8.609 kB / 0.5657 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.3335, allocations: 16.12 kB / 0.5657 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.3339, allocations: 165.8 kB / 0.5659 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3339, allocations: 3.953 kB / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.3339, allocations: 8 kB / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3339, allocations: 0 / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.3342, allocations: 104 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.3352, allocations: 0.6636 MB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.3356, allocations: 126.6 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.3357, allocations: 56.84 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3357, allocations: 3.938 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3358, allocations: 34.55 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.3358, allocations: 0 / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00141/0.3372, allocations: 412.7 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3372, allocations: 55.41 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3374, allocations: 155.1 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3374, allocations: 29.7 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.3375, allocations: 120.4 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.3375, allocations: 67.42 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.3376, allocations: 37.7 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3378, allocations: 338.8 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.338, allocations: 55.97 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.3382, allocations: 107.3 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.3386, allocations: 173.7 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3386, allocations: 0 / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005404/0.3392, allocations: 225.3 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3392, allocations: 6.188 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3392, allocations: 4 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3392, allocations: 0 / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.3395, allocations: 51.95 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3395, allocations: 11.88 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3397, allocations: 11.98 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3397, allocations: 12.09 kB / 0.5686 GB, free: 13.11 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.0001216/0.3398, allocations: 125.8 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.3399, allocations: 15.91 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.3399, allocations: 21.12 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.34, allocations: 4 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.34, allocations: 3.938 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.34, allocations: 3.984 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.341, allocations: 0.5862 MB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.341, allocations: 0 / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.3413, allocations: 39.97 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3413, allocations: 0 / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.3413, allocations: 8 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3413, allocations: 3.984 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3413, allocations: 4 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.3419, allocations: 303.1 kB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.3419, allocations: 27.89 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.342, allocations: 4 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.3422, allocations: 15.98 kB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.3422, allocations: 15.97 kB / 0.5698 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3423, allocations: 4 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.3424, allocations: 119.2 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 0 / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.3427, allocations: 40 kB / 0.5699 GB, free: 11.7 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.0001244/0.3428, allocations: 107.1 kB / 0.57 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.3433, allocations: 166.9 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3433, allocations: 0 / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.3435, allocations: 87.84 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.3438, allocations: 19.94 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007412/0.3446, allocations: 362.1 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3449, allocations: 0.7209 MB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.3451, allocations: 29.41 kB / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.3451, allocations: 19.42 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3451, allocations: 0 / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of Templates: time 0.005461/0.3506, allocations: 2.07 MB / 0.5734 GB, free: 8.078 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.293003941886127]