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.001631/0.001631, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001342/0.001342, allocations: 166.7 kB / 24.82 MB, free: 9.266 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 1.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2948/0.2948, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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 2.104e-06/2.104e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.45e-05, allocations: 5.406 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002939/0.002974, allocations: 2.093 MB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004181, allocations: 0.5882 MB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.004297, allocations: 0 / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.004417, allocations: 19.8 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.004536, allocations: 39.58 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.004881, allocations: 91.73 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.005095, allocations: 187.2 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.005208, allocations: 33.72 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.005444, allocations: 107.8 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.005569, allocations: 71.78 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.005603, allocations: 16 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.682e-05/0.00566, allocations: 16 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.005688, allocations: 27.91 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.005738, allocations: 59.83 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.005943, allocations: 131.5 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.005951, allocations: 7.984 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005953, allocations: 0 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.005958, allocations: 0 / 382 MB, free: 14.88 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.0005295/0.006487, allocations: 476.1 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.006528, allocations: 12.03 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.006651, allocations: 36.83 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.006808, allocations: 163.9 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.006819, allocations: 8.609 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.006845, allocations: 12.38 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.00705, allocations: 206.9 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.00706, allocations: 3.938 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.007074, allocations: 4 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.00708, allocations: 4 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.007157, allocations: 55.88 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.007691, allocations: 0.7018 MB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.007823, allocations: 95.03 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.007862, allocations: 35.92 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.00788, allocations: 11.98 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.0079, allocations: 33.39 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.007902, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005145/0.008416, allocations: 260.7 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.008442, allocations: 55.41 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.008808, allocations: 208.8 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.008823, allocations: 25.7 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.008886, allocations: 167.1 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.00892, allocations: 71.36 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.008971, allocations: 43.34 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.009075, allocations: 0.5001 MB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.009117, allocations: 19.98 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.009173, allocations: 74.64 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.009276, allocations: 101.2 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.009277, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001569/0.009434, allocations: 144.2 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.009448, allocations: 7.938 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.009452, allocations: 4.094 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.009464, allocations: 7.984 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.009617, allocations: 47.97 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.009621, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.009677, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.009687, allocations: 8 kB / 385.5 MB, free: 11.06 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.894e-05/0.009766, allocations: 168.5 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.009799, allocations: 27.89 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.009827, allocations: 17.12 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.00983, allocations: 8 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.009832, allocations: 0 / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009835, allocations: 0 / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.01029, allocations: 494.7 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01029, allocations: 0 / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.0104, allocations: 39.97 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.0104, allocations: 0 / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01041, allocations: 4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01041, allocations: 4 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01041, allocations: 7.938 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.01059, allocations: 275.7 kB / 386.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.01064, allocations: 27.89 kB / 386.6 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.01065, allocations: 0 / 386.6 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.01073, allocations: 15.98 kB / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.01078, allocations: 19.91 kB / 386.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.01079, allocations: 4 kB / 386.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.01084, allocations: 150 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01084, allocations: 4 kB / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.01101, allocations: 40 kB / 386.8 MB, free: 9.711 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 9.807e-05/0.0111, allocations: 95.25 kB / 386.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01125, allocations: 96.48 kB / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.01125, allocations: 0 / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.01131, allocations: 62 kB / 387.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01153, allocations: 26.17 kB / 387.1 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.01221, allocations: 358.8 kB / 387.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.01226, allocations: 72.56 kB / 387.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.201e-05/0.01235, allocations: 29.47 kB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.01248, allocations: 102.2 kB / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01248, allocations: 0 / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of Templates: time 0.003759/0.01624, allocations: 2.162 MB / 389.8 MB, free: 6.688 MB / 362.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: 3.1079898909665644]