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.001083/0.001083, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001032/0.001032, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.9696/0.9696, allocations: 177 MB / 205.2 MB, free: 5.625 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.2561/0.2561, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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.493e-06/1.493e-06, allocations: 0 / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.975e-05, allocations: 11.66 kB / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002337/0.002357, allocations: 2.096 MB / 380.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008455/0.003203, allocations: 0.5843 MB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.003294, allocations: 0 / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.0034, allocations: 19.8 kB / 381.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.102e-05/0.003491, allocations: 47.56 kB / 381.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.0038, allocations: 83.75 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.003986, allocations: 187.2 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.004111, allocations: 29.8 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.004309, allocations: 115.7 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.00443, allocations: 67.84 kB / 382 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.004458, allocations: 20 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.004507, allocations: 16 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.004535, allocations: 35.83 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.00459, allocations: 55.88 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.004783, allocations: 131.5 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004785, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004785, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.004791, allocations: 4 kB / 382.2 MB, free: 14.91 MB / 362.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.0005106/0.005301, allocations: 484.1 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.005335, allocations: 12.03 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.005453, allocations: 28.84 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.005625, allocations: 160.9 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.005636, allocations: 8.609 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.005664, allocations: 16.31 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.005891, allocations: 218.9 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.005902, allocations: 3.938 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.005918, allocations: 8 kB / 383.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.005925, allocations: 4 kB / 383.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.006037, allocations: 66.14 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.006936, allocations: 0.7285 MB / 384 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.007101, allocations: 103.1 kB / 384.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.007159, allocations: 42.97 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.007175, allocations: 8 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.007199, allocations: 41.38 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.0072, allocations: 3.938 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006184/0.007819, allocations: 289.2 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.007846, allocations: 55.41 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.007949, allocations: 199.3 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.007967, allocations: 33.7 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.008034, allocations: 167.1 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.008068, allocations: 71.38 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.008119, allocations: 43.36 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.008233, allocations: 0.4923 MB / 385.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.008297, allocations: 31.98 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.008377, allocations: 78.66 kB / 385.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.008517, allocations: 118.6 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008518, allocations: 0 / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001923/0.00871, allocations: 160.5 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.008721, allocations: 4 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008727, allocations: 4 kB / 385.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.00874, allocations: 0 / 385.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.008899, allocations: 51.91 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.008905, allocations: 0 / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.008964, allocations: 11.98 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.008975, allocations: 8 kB / 385.9 MB, free: 10.94 MB / 362.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 7.749e-05/0.009053, allocations: 168.6 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.009093, allocations: 23.91 kB / 386.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.009121, allocations: 17.12 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.009124, allocations: 4 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.009128, allocations: 0 / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.009134, allocations: 7.922 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.009642, allocations: 0.51 MB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009644, allocations: 0 / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.009755, allocations: 43.97 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.009758, allocations: 4 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.00977, allocations: 3.938 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009771, allocations: 0 / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.009772, allocations: 7.875 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.009985, allocations: 295 kB / 387 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.01003, allocations: 31.88 kB / 387 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.01004, allocations: 3.938 kB / 387 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.01013, allocations: 15.98 kB / 387.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.01018, allocations: 15.97 kB / 387.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.0102, allocations: 11.98 kB / 387.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.261e-05/0.01026, allocations: 153.6 kB / 387.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01026, allocations: 0 / 387.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.01043, allocations: 36 kB / 387.3 MB, free: 9.531 MB / 362.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.503e-05/0.0105, allocations: 99.19 kB / 387.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.01069, allocations: 99.58 kB / 387.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01069, allocations: 4 kB / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.01077, allocations: 63.78 kB / 387.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.01101, allocations: 31.98 kB / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.01185, allocations: 350.6 kB / 387.9 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.341e-05/0.0119, allocations: 68.58 kB / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.722e-05/0.01199, allocations: 29.48 kB / 388 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.01205, allocations: 24.48 kB / 388 MB, free: 8.711 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01205, allocations: 0 / 388 MB, free: 8.711 MB / 362.7 MB Notification: Performance of Templates: time 0.003546/0.0156, allocations: 1.973 MB / 390 MB, free: 6.77 MB / 362.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 -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: 3.003753819037229]