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.001374/0.001374, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001042/0.001042, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9583/0.9583, allocations: 177 MB / 205.2 MB, free: 5.035 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.2638/0.2638, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.193e-06/1.193e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.249e-05, allocations: 2.312 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00232/0.002332, allocations: 2.136 MB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.003106, allocations: 0.6003 MB / 328.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.003182, allocations: 4 kB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.448e-05/0.003277, allocations: 27.72 kB / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.126e-05/0.003358, allocations: 39.64 kB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.003602, allocations: 87.69 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.00377, allocations: 188 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.003861, allocations: 34.42 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.004037, allocations: 119.8 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.004155, allocations: 59.86 kB / 329.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.00418, allocations: 16 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.004235, allocations: 19.98 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.004264, allocations: 39.83 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.004303, allocations: 47.91 kB / 329.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004461, allocations: 139.4 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004462, allocations: 0 / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004464, allocations: 0 / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004467, allocations: 0 / 329.5 MB, free: 3.535 MB / 298.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.000408/0.004876, allocations: 361.8 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.004904, allocations: 8.031 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.005, allocations: 28.91 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.005139, allocations: 146.1 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.005148, allocations: 4.609 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.005171, allocations: 12.38 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.005349, allocations: 198.5 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.005358, allocations: 7.938 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.005372, allocations: 7.984 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005377, allocations: 7.938 kB / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.00545, allocations: 39.98 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.005879, allocations: 491.4 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.005994, allocations: 78.48 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.006031, allocations: 36.84 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.006048, allocations: 0 / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.006069, allocations: 34.56 kB / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.006071, allocations: 0 / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004669/0.006537, allocations: 228.5 kB / 331.2 MB, free: 1.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.006562, allocations: 55.39 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.006644, allocations: 146.6 kB / 331.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.006661, allocations: 29.7 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.00671, allocations: 124.3 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.006746, allocations: 71.41 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.006794, allocations: 41.62 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.006874, allocations: 326.8 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.006905, allocations: 16 kB / 332 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.957e-05/0.006955, allocations: 56.89 kB / 332 MB, free: 0.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.166e-05/0.007046, allocations: 93.31 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007048, allocations: 4 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001345/0.007182, allocations: 113.5 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.007193, allocations: 7.938 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.007198, allocations: 4 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.00721, allocations: 0 / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.007409, allocations: 51.97 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.007413, allocations: 3.984 kB / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.00747, allocations: 12.09 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.007481, allocations: 8 kB / 332.3 MB, free: 0.5234 MB / 298.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.545e-05/0.007547, allocations: 117.7 kB / 332.4 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.007579, allocations: 23.97 kB / 332.4 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.007605, allocations: 25.11 kB / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007607, allocations: 0 / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.00761, allocations: 0 / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007613, allocations: 0 / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.007982, allocations: 367.8 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007984, allocations: 4 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.008114, allocations: 43.95 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008116, allocations: 0 / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.008126, allocations: 7.938 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008128, allocations: 4 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.00813, allocations: 3.938 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.008273, allocations: 210.5 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.008308, allocations: 11.91 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.008324, allocations: 4 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.008405, allocations: 15.98 kB / 333.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.008451, allocations: 19.91 kB / 333.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.008462, allocations: 4 kB / 333.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.661e-05/0.008488, allocations: 38.23 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008488, allocations: 3.938 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.008639, allocations: 36 kB / 333.2 MB, free: 15.55 MB / 314.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.827e-05/0.008707, allocations: 76.42 kB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.008831, allocations: 92.83 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.008835, allocations: 8 kB / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.008891, allocations: 52.77 kB / 333.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.009055, allocations: 24.77 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.009703, allocations: 353.7 kB / 333.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.009744, allocations: 76.56 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.639e-05/0.00984, allocations: 29.47 kB / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.009964, allocations: 83.34 kB / 334 MB, free: 14.71 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009965, allocations: 0 / 334 MB, free: 14.71 MB / 314.7 MB Notification: Performance of Templates: time 0.00337/0.01333, allocations: 2.16 MB / 336.2 MB, free: 12.6 MB / 314.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.788320183288306]