Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 210.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 46.93 MB / 360.8 MB, free: 4.316 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 72.12 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3389, allocations: 66.03 MB / 0.5611 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003527/0.3424, allocations: 2.098 MB / 0.5632 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3435, allocations: 0.6049 MB / 0.5638 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.3436, allocations: 7.938 kB / 0.5638 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.3437, allocations: 15.8 kB / 0.5638 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.3438, allocations: 43.62 kB / 0.5638 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.3442, allocations: 79.83 kB / 0.5639 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.3445, allocations: 191.2 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3446, allocations: 33.7 kB / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3448, allocations: 79.83 kB / 0.5642 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.3449, allocations: 91.59 kB / 0.5643 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.345, allocations: 12 kB / 0.5643 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.817e-05/0.345, allocations: 16 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.3451, allocations: 35.84 kB / 0.5644 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.753e-05/0.3452, allocations: 75.66 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.3454, allocations: 193.9 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3454, allocations: 0 / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3454, allocations: 4 kB / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3455, allocations: 0 / 0.5646 GB, free: 0.9414 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.0008439/0.3463, allocations: 381.8 kB / 0.565 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3463, allocations: 8.031 kB / 0.565 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3465, allocations: 28.83 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.3467, allocations: 164.5 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3468, allocations: 8.609 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.3468, allocations: 16.12 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.3472, allocations: 161.8 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3472, allocations: 3.953 kB / 0.5654 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.3472, allocations: 12 kB / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3472, allocations: 0 / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.3475, allocations: 111.9 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3486, allocations: 0.6521 MB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.3489, allocations: 134.5 kB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3491, allocations: 52.84 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.3491, allocations: 7.922 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3492, allocations: 38.56 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3492, allocations: 4 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001397/0.3506, allocations: 400.9 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3506, allocations: 55.41 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3507, allocations: 158.2 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.3508, allocations: 25.7 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.3509, allocations: 120.4 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.3509, allocations: 71.42 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.351, allocations: 33.7 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3512, allocations: 338.7 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.3514, allocations: 59.97 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.3516, allocations: 111.3 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.352, allocations: 173.5 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.352, allocations: 0 / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005098/0.3525, allocations: 213.4 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3525, allocations: 4 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3525, allocations: 4.094 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3526, allocations: 4 kB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.3529, allocations: 51.91 kB / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3529, allocations: 7.938 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3531, allocations: 11.98 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3531, allocations: 8 kB / 0.5681 GB, free: 13.14 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.000131/0.3532, allocations: 133.8 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.3533, allocations: 15.91 kB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.3533, allocations: 21.12 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3533, allocations: 4 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.3533, allocations: 3.938 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3533, allocations: 3.984 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3544, allocations: 0.5779 MB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3544, allocations: 0 / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.3547, allocations: 47.84 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3547, allocations: 4 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.3547, allocations: 4 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3547, allocations: 3.984 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3547, allocations: 0 / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.3553, allocations: 303.3 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.3553, allocations: 23.89 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.3554, allocations: 7.938 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3556, allocations: 19.98 kB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.3557, allocations: 11.97 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3557, allocations: 8 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.3558, allocations: 124.1 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3558, allocations: 3.938 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.3561, allocations: 40 kB / 0.5694 GB, free: 11.71 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.0001235/0.3562, allocations: 99.23 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.3567, allocations: 162.6 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3567, allocations: 4.188 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.3569, allocations: 83.84 kB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3573, allocations: 27.86 kB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008595/0.3582, allocations: 361.9 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.3586, allocations: 0.7209 MB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.3587, allocations: 25.41 kB / 0.5709 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.3588, allocations: 23.42 kB / 0.5709 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3588, allocations: 4 kB / 0.5709 GB, free: 10.16 MB / 414.1 MB Notification: Performance of Templates: time 0.005616/0.3644, allocations: 2.066 MB / 0.5729 GB, free: 8.105 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.15780263999477]