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.001734/0.001734, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002293/0.002293, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2278/0.2278, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.002003/0.002003, allocations: 67.88 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3298, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.004785/0.3346, allocations: 2.002 MB / 0.563 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3359, allocations: 0.566 MB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.336, allocations: 4 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3361, allocations: 19.8 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.3362, allocations: 39.64 kB / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.3367, allocations: 87.8 kB / 0.5637 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3369, allocations: 187.2 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.337, allocations: 29.72 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.3372, allocations: 87.75 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.3374, allocations: 75.67 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3374, allocations: 16 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.3375, allocations: 19.94 kB / 0.5641 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.3375, allocations: 31.91 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.3376, allocations: 63.7 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.3379, allocations: 185.7 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3379, allocations: 0 / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3379, allocations: 0 / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3379, allocations: 0 / 0.5644 GB, free: 0.7617 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.0008275/0.3387, allocations: 389.8 kB / 0.5648 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3388, allocations: 8.031 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3389, allocations: 24.84 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3392, allocations: 162.8 kB / 0.565 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3392, allocations: 12.61 kB / 0.565 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.3393, allocations: 20.06 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.3397, allocations: 213.2 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3397, allocations: 11.89 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.3397, allocations: 4 kB / 0.5652 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3397, allocations: 4 kB / 0.5652 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.34, allocations: 103.9 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.341, allocations: 0.5903 MB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.3414, allocations: 142.5 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.3415, allocations: 56.83 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.3416, allocations: 3.984 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3416, allocations: 38.5 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.3416, allocations: 0 / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001388/0.343, allocations: 412.9 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.343, allocations: 55.41 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3432, allocations: 147.9 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.3432, allocations: 29.7 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.3433, allocations: 116.4 kB / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.3434, allocations: 63.44 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.3434, allocations: 41.66 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3436, allocations: 330.8 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3438, allocations: 67.95 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.344, allocations: 97.25 kB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.3444, allocations: 177.7 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3444, allocations: 0 / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005043/0.3449, allocations: 221.3 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3449, allocations: 4 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3449, allocations: 0 / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3449, allocations: 8.094 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.3453, allocations: 43.97 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3453, allocations: 4 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3454, allocations: 15.92 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3455, allocations: 11.94 kB / 0.5679 GB, free: 12.97 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.0001239/0.3456, allocations: 133.8 kB / 0.568 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3456, allocations: 11.91 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.3457, allocations: 21.12 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3457, allocations: 8 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3457, allocations: 0 / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3457, allocations: 3.938 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.3467, allocations: 0.5277 MB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3467, allocations: 3.938 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.3469, allocations: 43.95 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.347, allocations: 4 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.347, allocations: 4 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.347, allocations: 0 / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.347, allocations: 0 / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.3475, allocations: 300 kB / 0.5689 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.3476, allocations: 31.77 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.3476, allocations: 15.98 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3478, allocations: 15.98 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.3479, allocations: 15.97 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3479, allocations: 4 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.051e-05/0.348, allocations: 122.8 kB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.348, allocations: 0 / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3483, allocations: 36 kB / 0.5691 GB, free: 11.61 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.0001274/0.3484, allocations: 99.25 kB / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.3489, allocations: 166.2 kB / 0.5694 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3489, allocations: 0 / 0.5694 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.3491, allocations: 83.89 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3495, allocations: 26.42 kB / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.3503, allocations: 362 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.3504, allocations: 108 kB / 0.5699 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.3505, allocations: 29.41 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.3506, allocations: 23.44 kB / 0.57 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3506, allocations: 0 / 0.57 GB, free: 10.69 MB / 414.1 MB Notification: Performance of Templates: time 0.005735/0.3563, allocations: 2.089 MB / 0.572 GB, free: 8.625 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.250029996037483]