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.001436/0.001436, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.001704/0.001704, allocations: 168.7 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9242/0.9242, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2532/0.2532, allocations: 34.27 MB / 296.1 MB, free: 0.707 MB / 266.7 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 1.463e-06/1.463e-06, allocations: 0 / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.57e-05, allocations: 3.078 kB / 325.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.005961/0.005987, allocations: 2.099 MB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.006971, allocations: 0.597 MB / 327.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.007067, allocations: 7.938 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.007175, allocations: 19.78 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.007275, allocations: 39.59 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.007596, allocations: 79.81 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.007848, allocations: 199.1 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.007959, allocations: 42.86 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.008171, allocations: 111.8 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.008295, allocations: 63.8 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.00832, allocations: 12 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-05/0.00837, allocations: 19.98 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.008402, allocations: 31.91 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.008456, allocations: 55.83 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.008663, allocations: 131.5 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008667, allocations: 0 / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008668, allocations: 4 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.008672, allocations: 0 / 328.7 MB, free: 4.164 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.0004993/0.009171, allocations: 357.8 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.009201, allocations: 8.031 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.009327, allocations: 28.91 kB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.009504, allocations: 149.2 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.009518, allocations: 16.55 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.009548, allocations: 8.375 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.009779, allocations: 203.6 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.009792, allocations: 3.938 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.009808, allocations: 8 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.009814, allocations: 0 / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.202e-05/0.009906, allocations: 52.56 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.01045, allocations: 487.4 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.0106, allocations: 79.28 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.01065, allocations: 32.84 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.01067, allocations: 4 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.01069, allocations: 38.48 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.0107, allocations: 0 / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005253/0.01122, allocations: 232 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.01125, allocations: 59.41 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.01133, allocations: 145.8 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.01135, allocations: 33.7 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.01139, allocations: 116.3 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.01143, allocations: 67.42 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.01148, allocations: 37.69 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.01155, allocations: 326.8 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.01158, allocations: 16 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.01163, allocations: 63.33 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.066e-05/0.01172, allocations: 99.25 kB / 331.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01172, allocations: 0 / 331.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001248/0.01185, allocations: 115.9 kB / 331.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.01186, allocations: 8 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01187, allocations: 0 / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.01188, allocations: 0 / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.01202, allocations: 52 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.01202, allocations: 4 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.01207, allocations: 8 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01208, allocations: 7.984 kB / 331.5 MB, free: 1.156 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.879e-05/0.01215, allocations: 121.7 kB / 331.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.01218, allocations: 19.92 kB / 331.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.01221, allocations: 21.12 kB / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.01221, allocations: 0 / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01221, allocations: 0 / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01222, allocations: 3.984 kB / 331.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.01258, allocations: 366 kB / 332.1 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01258, allocations: 0 / 332.1 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.736e-05/0.01268, allocations: 39.91 kB / 332.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01268, allocations: 4 kB / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.01269, allocations: 8 kB / 332.1 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.0127, allocations: 0 / 332.1 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.0127, allocations: 0 / 332.1 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.01284, allocations: 209.8 kB / 332.3 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.01287, allocations: 19.91 kB / 332.3 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.01289, allocations: 0 / 332.3 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.01296, allocations: 11.98 kB / 332.4 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.013, allocations: 23.91 kB / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01301, allocations: 0 / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of sorting global known variables: time 2.601e-05/0.01304, allocations: 39.05 kB / 332.4 MB, free: 236 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01304, allocations: 0 / 332.4 MB, free: 236 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.01318, allocations: 36 kB / 332.5 MB, free: 200 kB / 298.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 8.67e-05/0.01327, allocations: 84.36 kB / 332.5 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01338, allocations: 88.72 kB / 332.6 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.01339, allocations: 0 / 332.6 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/0.01345, allocations: 56.77 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.01361, allocations: 20.97 kB / 332.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006494/0.01426, allocations: 364.3 kB / 333.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.0143, allocations: 72.58 kB / 333.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.525e-05/0.0144, allocations: 25.47 kB / 333.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.01451, allocations: 83.34 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01451, allocations: 4 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of Templates: time 0.003479/0.01799, allocations: 2.112 MB / 335.3 MB, free: 13.27 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] 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","",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.7722928659059107]