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.001764/0.001764, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.00216/0.00216, allocations: 210.8 kB / 24.49 MB, free: 3.965 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2565/0.2565, allocations: 46.96 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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.002047/0.002047, allocations: 67.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003511/0.3378, allocations: 1.993 MB / 0.5638 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3389, allocations: 0.5737 MB / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.339, allocations: 11.94 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.3391, allocations: 15.8 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.3392, allocations: 47.56 kB / 0.5644 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.3396, allocations: 71.89 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.3398, allocations: 183.3 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3399, allocations: 37.7 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.3401, allocations: 91.7 kB / 0.5648 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3403, allocations: 79.66 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.3403, allocations: 16 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.17e-05/0.3404, allocations: 20 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.3404, allocations: 35.84 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.3405, allocations: 67.72 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.3407, allocations: 185.7 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3407, allocations: 0 / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3407, allocations: 0 / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.3408, allocations: 0 / 0.5652 GB, free: 0.7266 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.0007664/0.3415, allocations: 381.8 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3416, allocations: 8.031 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.3417, allocations: 28.83 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.342, allocations: 161.8 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.342, allocations: 12.61 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.3421, allocations: 12.12 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.3425, allocations: 225.1 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3425, allocations: 3.953 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3425, allocations: 8 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3425, allocations: 7.984 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.3429, allocations: 99.88 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008898/0.3437, allocations: 0.6019 MB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.3441, allocations: 130.6 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.3442, allocations: 52.83 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3442, allocations: 4 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3443, allocations: 42.44 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3443, allocations: 0 / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001332/0.3456, allocations: 404.7 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.3457, allocations: 55.41 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3458, allocations: 146.2 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3458, allocations: 29.7 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.3459, allocations: 120.4 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.346, allocations: 71.41 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.3461, allocations: 49.59 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3462, allocations: 322.8 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.3464, allocations: 71.89 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.3466, allocations: 95.33 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.347, allocations: 173.8 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.347, allocations: 0 / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005029/0.3475, allocations: 221.3 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3475, allocations: 4 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3475, allocations: 96 / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.3476, allocations: 8 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3479, allocations: 51.89 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3479, allocations: 4 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3481, allocations: 15.92 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3481, allocations: 8 kB / 0.5686 GB, free: 12.94 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.0001183/0.3482, allocations: 121.8 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.3482, allocations: 15.91 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.3483, allocations: 21.12 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3483, allocations: 7.984 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3483, allocations: 0 / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.3484, allocations: 23.88 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3484, allocations: 4 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3486, allocations: 19.92 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.3487, allocations: 11.97 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006732/0.3494, allocations: 303 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005748/0.3499, allocations: 374.5 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002019/0.3501, allocations: 86.28 kB / 0.5696 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.3502, allocations: 110.7 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of Backend: time 5.91e-07/0.3502, allocations: 0 / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.3508, allocations: 178.2 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008187/0.3516, allocations: 0.7538 MB / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of Templates: time 0.006699/0.3583, allocations: 2.81 MB / 0.5733 GB, free: 8.062 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/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_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.30929106399708]