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.002042/0.002042, allocations: 84.69 kB / 20.68 MB, free: 1.035 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.002308/0.002308, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.471/1.471, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.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.2281/0.2281, allocations: 34.28 MB / 295 MB, free: 14.58 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 3.947e-06/3.947e-06, allocations: 3.984 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.732e-05, allocations: 6.219 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003607/0.003634, allocations: 2.016 MB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004821, allocations: 0.5687 MB / 445.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.004936, allocations: 0 / 445.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.005066, allocations: 19.8 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.0052, allocations: 47.56 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.005615, allocations: 79.83 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.005896, allocations: 191.2 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.006019, allocations: 29.78 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.006294, allocations: 119.7 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.006449, allocations: 63.8 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.006488, allocations: 12 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.00656, allocations: 19.98 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.006604, allocations: 31.91 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.006698, allocations: 63.83 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.006991, allocations: 187.4 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.006993, allocations: 0 / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006994, allocations: 0 / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.006999, allocations: 0 / 446.1 MB, free: 1.945 MB / 366.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.0008415/0.007841, allocations: 381.8 kB / 446.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.007877, allocations: 12.03 kB / 446.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.008048, allocations: 28.83 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.008326, allocations: 158 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.008344, allocations: 8.609 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.008379, allocations: 12.38 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.008805, allocations: 221.7 kB / 446.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.008822, allocations: 3.938 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.008846, allocations: 4 kB / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.008853, allocations: 4 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.00922, allocations: 116.5 kB / 447 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009595/0.01018, allocations: 0.5911 MB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.01057, allocations: 134.5 kB / 447.8 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.01073, allocations: 56.83 kB / 447.8 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.01076, allocations: 4 kB / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.01081, allocations: 38.56 kB / 447.9 MB, free: 48 kB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.01081, allocations: 0 / 447.9 MB, free: 48 kB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.175/0.1858, allocations: 402.5 kB / 448.3 MB, free: 19.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.1858, allocations: 53.47 kB / 448.3 MB, free: 19.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1859, allocations: 150 kB / 448.5 MB, free: 19.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1859, allocations: 28.89 kB / 448.5 MB, free: 19.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.186, allocations: 121.5 kB / 448.6 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.186, allocations: 69.48 kB / 448.7 MB, free: 19.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.1861, allocations: 38.02 kB / 448.7 MB, free: 19.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.1861, allocations: 324.6 kB / 449 MB, free: 18.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1863, allocations: 67.38 kB / 449.1 MB, free: 18.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1865, allocations: 102.7 kB / 449.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.1869, allocations: 176.1 kB / 449.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1869, allocations: 0 / 449.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004763/0.1874, allocations: 214.7 kB / 449.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1874, allocations: 7.453 kB / 449.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1874, allocations: 1.375 kB / 449.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1874, allocations: 1.953 kB / 449.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.1877, allocations: 58.19 kB / 449.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1877, allocations: 6.641 kB / 449.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1879, allocations: 10.11 kB / 449.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1879, allocations: 10.06 kB / 449.7 MB, free: 18.6 MB / 366.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 8.149e-05/0.188, allocations: 128.4 kB / 449.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.188, allocations: 19.25 kB / 449.8 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.1881, allocations: 17.33 kB / 449.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1881, allocations: 4.016 kB / 449.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1881, allocations: 4.047 kB / 449.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1881, allocations: 4.688 kB / 449.8 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008747/0.189, allocations: 0.5232 MB / 450.4 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.189, allocations: 5.031 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.1892, allocations: 48.16 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1892, allocations: 1.188 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1892, allocations: 5.719 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1892, allocations: 1.156 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1892, allocations: 0.5625 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.1897, allocations: 293.2 kB / 450.7 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.1898, allocations: 27.95 kB / 450.7 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1898, allocations: 8.406 kB / 450.7 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.19, allocations: 16.45 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.1901, allocations: 15.58 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1901, allocations: 9.734 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.445e-05/0.1901, allocations: 112.8 kB / 450.9 MB, free: 17.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1901, allocations: 0.7656 kB / 450.9 MB, free: 17.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1904, allocations: 35.75 kB / 450.9 MB, free: 17.77 MB / 366.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 9.314e-05/0.1905, allocations: 104.5 kB / 451 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004504/0.191, allocations: 169.8 kB / 451.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.191, allocations: 0 / 451.2 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.1912, allocations: 85.81 kB / 451.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1915, allocations: 23.03 kB / 451.3 MB, free: 17.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.1921, allocations: 341.6 kB / 451.6 MB, free: 17.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.521e-05/0.1922, allocations: 108.8 kB / 451.7 MB, free: 17.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.1923, allocations: 25.95 kB / 451.8 MB, free: 17.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.1924, allocations: 27.3 kB / 451.8 MB, free: 17.28 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1924, allocations: 1.344 kB / 451.8 MB, free: 17.28 MB / 366.1 MB Notification: Performance of Templates: time 0.005332/0.1977, allocations: 1.934 MB / 453.7 MB, free: 17.1 MB / 366.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.025588188320398]