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.0008108/0.0008108, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003636/0.003636, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8359/0.8359, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2341/0.2341, allocations: 34.25 MB / 295.7 MB, free: 0.6836 MB / 266.7 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 1.332e-06/1.332e-06, allocations: 3.938 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.145e-05, allocations: 7.344 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.152/0.152, allocations: 2.008 MB / 445.5 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.1527, allocations: 0.5686 MB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1528, allocations: 2.594 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.153, allocations: 15.05 kB / 446 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.153, allocations: 51.31 kB / 446.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1534, allocations: 86.14 kB / 446.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1535, allocations: 192.1 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1537, allocations: 26.58 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.1538, allocations: 112.2 kB / 446.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1539, allocations: 61.98 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1539, allocations: 15.78 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.154, allocations: 17.75 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.154, allocations: 35.91 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.154, allocations: 59.97 kB / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1542, allocations: 194.2 kB / 446.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1542, allocations: 0 / 446.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1542, allocations: 6.562 kB / 446.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1542, allocations: 0 / 446.9 MB, free: 43.15 MB / 410.7 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.0004516/0.1547, allocations: 377.9 kB / 447.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1547, allocations: 8.875 kB / 447.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.1548, allocations: 26.8 kB / 447.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.155, allocations: 160 kB / 447.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.155, allocations: 10.11 kB / 447.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.155, allocations: 11.78 kB / 447.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1552, allocations: 215.8 kB / 447.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1552, allocations: 11.44 kB / 447.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1552, allocations: 7.219 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1552, allocations: 2.719 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1554, allocations: 111.2 kB / 447.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1558, allocations: 0.5812 MB / 448.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.156, allocations: 134.7 kB / 448.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.1561, allocations: 60.5 kB / 448.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1561, allocations: 0 / 448.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.1561, allocations: 33.44 kB / 448.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 8.12e-07/0.1561, allocations: 0 / 448.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006839/0.1568, allocations: 412 kB / 449 MB, free: 41.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.1568, allocations: 53.94 kB / 449.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.1569, allocations: 153.4 kB / 449.2 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1569, allocations: 28.39 kB / 449.2 MB, free: 41.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.1569, allocations: 121.2 kB / 449.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.157, allocations: 70.42 kB / 449.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.157, allocations: 39.72 kB / 449.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.808e-05/0.157, allocations: 324.9 kB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.038e-05/0.1571, allocations: 67.75 kB / 449.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.587e-05/0.1572, allocations: 104.9 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1574, allocations: 173.3 kB / 450.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1574, allocations: 4 kB / 450.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002295/0.1576, allocations: 213.3 kB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1577, allocations: 5.844 kB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1577, allocations: 0 / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1577, allocations: 2.938 kB / 450.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1578, allocations: 56.94 kB / 450.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1578, allocations: 2.875 kB / 450.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.1579, allocations: 9.234 kB / 450.4 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1579, allocations: 9.844 kB / 450.4 MB, free: 40.71 MB / 410.7 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 5.408e-05/0.1579, allocations: 135.4 kB / 450.6 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.158, allocations: 17.09 kB / 450.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.158, allocations: 19.81 kB / 450.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.158, allocations: 4.922 kB / 450.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.158, allocations: 0 / 450.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.158, allocations: 9.75 kB / 450.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.1584, allocations: 0.526 MB / 451.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1584, allocations: 0 / 451.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.1585, allocations: 41.89 kB / 451.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1585, allocations: 0 / 451.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1585, allocations: 14.3 kB / 451.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1585, allocations: 4 kB / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1585, allocations: 3.125 kB / 451.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1588, allocations: 289.3 kB / 451.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.1588, allocations: 34.48 kB / 451.5 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1588, allocations: 7.938 kB / 451.5 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.1589, allocations: 11.8 kB / 451.5 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.1589, allocations: 25.23 kB / 451.5 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.159, allocations: 2.906 kB / 451.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.015e-05/0.159, allocations: 115.2 kB / 451.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.159, allocations: 0 / 451.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.1592, allocations: 38.03 kB / 451.7 MB, free: 39.86 MB / 410.7 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 6.687e-05/0.1592, allocations: 98.88 kB / 451.8 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.1594, allocations: 165.2 kB / 452 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1594, allocations: 2.812 kB / 452 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1595, allocations: 83.45 kB / 452 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1598, allocations: 16.88 kB / 452.1 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.1602, allocations: 367 kB / 452.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.585e-05/0.1602, allocations: 115 kB / 452.5 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.1603, allocations: 20.78 kB / 452.6 MB, free: 39.35 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1603, allocations: 0 / 452.6 MB, free: 39.35 MB / 410.7 MB Notification: Performance of Templates: time 0.002178/0.1625, allocations: 2.191 MB / 454.7 MB, free: 39.21 MB / 410.7 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: 4.277606021612883]