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.001461/0.001461, allocations: 86.72 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001462/0.001462, allocations: 158.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.447/1.447, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.213/0.213, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 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.362e-06/1.362e-06, allocations: 0 / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.577e-05, allocations: 4.812 kB / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003147/0.003173, allocations: 2.016 MB / 444.7 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.004201, allocations: 0.5687 MB / 445.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.004281, allocations: 4 kB / 445.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.004395, allocations: 23.72 kB / 445.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.004501, allocations: 39.64 kB / 445.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.004857, allocations: 79.77 kB / 445.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.00511, allocations: 199.2 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005233, allocations: 29.78 kB / 445.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.005463, allocations: 115.7 kB / 445.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.005611, allocations: 59.8 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.005649, allocations: 16 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.005711, allocations: 23.98 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.005758, allocations: 35.83 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.005836, allocations: 55.89 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.006104, allocations: 191.4 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.006106, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006106, allocations: 4 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.006111, allocations: 0 / 446.1 MB, free: 1.848 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.0007488/0.006859, allocations: 377.8 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.006888, allocations: 8.031 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.007053, allocations: 28.83 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.00731, allocations: 166 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.007325, allocations: 8.609 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.007357, allocations: 12.38 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.007743, allocations: 211.2 kB / 446.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.007757, allocations: 3.938 kB / 446.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.007784, allocations: 11.98 kB / 446.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.007791, allocations: 4 kB / 446.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.008097, allocations: 107.8 kB / 447 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.008942, allocations: 0.5989 MB / 447.6 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.009287, allocations: 134.4 kB / 447.7 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.009435, allocations: 52.83 kB / 447.8 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.009459, allocations: 4 kB / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1781/0.1876, allocations: 30.56 kB / 447.8 MB, free: 19.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 4.458e-06/0.1876, allocations: 0 / 447.8 MB, free: 19.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001592/0.1892, allocations: 403.4 kB / 448.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.1892, allocations: 58 kB / 448.3 MB, free: 19.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1894, allocations: 148.2 kB / 448.4 MB, free: 19.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1894, allocations: 30.23 kB / 448.5 MB, free: 19.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.1894, allocations: 126.5 kB / 448.6 MB, free: 19.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1895, allocations: 66.27 kB / 448.6 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.1895, allocations: 35.61 kB / 448.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.1896, allocations: 333.2 kB / 449 MB, free: 18.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.1898, allocations: 64.52 kB / 449.1 MB, free: 18.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.19, allocations: 99.67 kB / 449.2 MB, free: 18.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.1904, allocations: 178.7 kB / 449.3 MB, free: 18.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1904, allocations: 1.125 kB / 449.3 MB, free: 18.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004939/0.1909, allocations: 213 kB / 449.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1909, allocations: 9.781 kB / 449.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1909, allocations: 1.781 kB / 449.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1909, allocations: 1.188 kB / 449.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.1913, allocations: 55.25 kB / 449.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1913, allocations: 2.156 kB / 449.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.1914, allocations: 14.67 kB / 449.6 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1914, allocations: 5.828 kB / 449.6 MB, free: 18.48 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 9.108e-05/0.1915, allocations: 129.3 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.1916, allocations: 19.56 kB / 449.8 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.1916, allocations: 21.39 kB / 449.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1916, allocations: 2.438 kB / 449.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1916, allocations: 3.938 kB / 449.8 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1916, allocations: 2.375 kB / 449.8 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000928/0.1926, allocations: 0.5309 MB / 450.3 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1926, allocations: 0 / 450.3 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1928, allocations: 44.61 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1928, allocations: 4.156 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1929, allocations: 5.812 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1929, allocations: 2.75 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1929, allocations: 1.5 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.1934, allocations: 295.5 kB / 450.7 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.1934, allocations: 31.12 kB / 450.7 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1935, allocations: 1.844 kB / 450.7 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1937, allocations: 15.41 kB / 450.7 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.1937, allocations: 20.72 kB / 450.8 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.1938, allocations: 5.219 kB / 450.8 MB, free: 17.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.888e-05/0.1938, allocations: 116.2 kB / 450.9 MB, free: 17.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1938, allocations: 1.125 kB / 450.9 MB, free: 17.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1941, allocations: 37.38 kB / 450.9 MB, free: 17.64 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.917e-05/0.1942, allocations: 95.86 kB / 451 MB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005203/0.1947, allocations: 161.2 kB / 451.2 MB, free: 17.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1947, allocations: 4 kB / 451.2 MB, free: 17.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.1949, allocations: 81.92 kB / 451.2 MB, free: 17.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1953, allocations: 24.27 kB / 451.3 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.1959, allocations: 340.9 kB / 451.6 MB, free: 17.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.958e-05/0.1959, allocations: 105.1 kB / 451.7 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.1961, allocations: 30.98 kB / 451.7 MB, free: 17.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.1962, allocations: 18.56 kB / 451.8 MB, free: 17.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1962, allocations: 0 / 451.8 MB, free: 17.16 MB / 366.1 MB Notification: Performance of Templates: time 0.005546/0.2017, allocations: 1.938 MB / 453.7 MB, free: 16.98 MB / 366.1 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.827637206763029]