Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.006996/0.006996, allocations: 158.8 kB / 24.7 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8851/0.8851, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.877e-05, allocations: 5.094 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.2001/0.2001, allocations: 2.006 MB / 445.4 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007088/0.2008, allocations: 0.5678 MB / 446 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.2009, allocations: 9.562 kB / 446 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.201, allocations: 15.09 kB / 446 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.2011, allocations: 47.34 kB / 446.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.2014, allocations: 81.52 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.2016, allocations: 195.3 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2017, allocations: 26.31 kB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.2018, allocations: 123 kB / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.2019, allocations: 59.97 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.2019, allocations: 15.72 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.161e-05/0.202, allocations: 13.66 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.202, allocations: 38.38 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.202, allocations: 55.3 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.2022, allocations: 194.2 kB / 446.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2022, allocations: 0 / 446.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2022, allocations: 3.562 kB / 446.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2022, allocations: 6.688 kB / 446.9 MB, free: 43.11 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.000488/0.2027, allocations: 378.6 kB / 447.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2028, allocations: 10.97 kB / 447.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.2029, allocations: 22.09 kB / 447.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.2031, allocations: 154.7 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2031, allocations: 9.984 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.2031, allocations: 13.02 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2033, allocations: 216.8 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2033, allocations: 5.25 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.2033, allocations: 4 kB / 447.7 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2033, allocations: 5.312 kB / 447.7 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.2035, allocations: 107.2 kB / 447.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.204, allocations: 0.592 MB / 448.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2042, allocations: 130.1 kB / 448.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.2042, allocations: 56.83 kB / 448.5 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2043, allocations: 2.938 kB / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.2043, allocations: 34.56 kB / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2043, allocations: 0 / 448.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007172/0.205, allocations: 415.4 kB / 449 MB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.205, allocations: 56.12 kB / 449 MB, free: 41.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.2051, allocations: 147.5 kB / 449.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2051, allocations: 29.7 kB / 449.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2051, allocations: 125.3 kB / 449.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2052, allocations: 70.86 kB / 449.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.2052, allocations: 36.75 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.7e-05/0.2052, allocations: 321.1 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2053, allocations: 69.45 kB / 449.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2054, allocations: 100.1 kB / 449.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.2056, allocations: 180.2 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2056, allocations: 2.688 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002408/0.2059, allocations: 217 kB / 450.3 MB, free: 40.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2059, allocations: 13.81 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2059, allocations: 0 / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2059, allocations: 3.031 kB / 450.3 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.206, allocations: 46.77 kB / 450.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.206, allocations: 2.781 kB / 450.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/0.2061, allocations: 12.92 kB / 450.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.2061, allocations: 9.125 kB / 450.4 MB, free: 40.62 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 6.412e-05/0.2062, allocations: 139.3 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.2062, allocations: 20.2 kB / 450.6 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.2062, allocations: 20.03 kB / 450.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2062, allocations: 2.688 kB / 450.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2062, allocations: 0 / 450.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2062, allocations: 3.188 kB / 450.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.2067, allocations: 0.5233 MB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2067, allocations: 7.938 kB / 451.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2068, allocations: 44.81 kB / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2068, allocations: 0 / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2068, allocations: 6.688 kB / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2068, allocations: 0 / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2068, allocations: 0 / 451.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.2071, allocations: 296.2 kB / 451.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.2071, allocations: 35.88 kB / 451.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2071, allocations: 10.09 kB / 451.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.2072, allocations: 15.94 kB / 451.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.2072, allocations: 16.52 kB / 451.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.2072, allocations: 5.781 kB / 451.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.337e-05/0.2073, allocations: 109.7 kB / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2073, allocations: 0 / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.2075, allocations: 42.09 kB / 451.7 MB, free: 39.76 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 7.897e-05/0.2075, allocations: 97.55 kB / 451.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.2078, allocations: 166.7 kB / 451.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.2078, allocations: 0 / 451.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.2079, allocations: 91.22 kB / 452 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2081, allocations: 19.83 kB / 452.1 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.2086, allocations: 364.7 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.2086, allocations: 114.2 kB / 452.5 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.2087, allocations: 20.38 kB / 452.5 MB, free: 39.26 MB / 410.7 MB Notification: Performance of SimCode: time 4.5e-07/0.2087, allocations: 0 / 452.5 MB, free: 39.26 MB / 410.7 MB Notification: Performance of Templates: time 0.002329/0.211, allocations: 2.195 MB / 454.7 MB, free: 39.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.870861453935504]