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.00193/0.00193, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00186/0.00186, allocations: 165 kB / 24.56 MB, free: 20 kB / 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.9841/0.9841, allocations: 177.1 MB / 205 MB, free: 5.277 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.2943/0.2943, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.303e-06/1.303e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.416e-05, allocations: 2.312 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002172/0.002186, allocations: 2.105 MB / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.003024, allocations: 0.5842 MB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.003095, allocations: 4 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.011e-05/0.003185, allocations: 15.8 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.303e-05/0.003268, allocations: 55.56 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.003531, allocations: 79.75 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.003693, allocations: 187.2 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.003782, allocations: 29.78 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.003932, allocations: 119.7 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.00403, allocations: 67.78 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.004054, allocations: 12 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-05/0.004095, allocations: 20 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.004121, allocations: 31.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.004168, allocations: 59.81 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.004327, allocations: 127.6 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004328, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004329, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004333, allocations: 0 / 381.5 MB, free: 15.15 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.0004901/0.004823, allocations: 484.1 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.004852, allocations: 12.03 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.004963, allocations: 32.84 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.005139, allocations: 164.7 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.005151, allocations: 8.609 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.005178, allocations: 16.38 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.005417, allocations: 214.9 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.005432, allocations: 7.938 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.005447, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.005455, allocations: 8 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.005562, allocations: 64.61 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.006105, allocations: 0.7245 MB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.006258, allocations: 99.06 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.006311, allocations: 43.97 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.006331, allocations: 4 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.006352, allocations: 45.38 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.006353, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005741/0.006927, allocations: 291 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.00695, allocations: 51.41 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.007048, allocations: 208.3 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.007063, allocations: 25.7 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.007124, allocations: 171.1 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.007159, allocations: 71.36 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.007208, allocations: 43.36 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.007321, allocations: 0.5001 MB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.007374, allocations: 27.98 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.007446, allocations: 78.59 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.007573, allocations: 110.7 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007576, allocations: 4 kB / 385 MB, free: 11.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001844/0.00776, allocations: 163.9 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.00777, allocations: 4 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007774, allocations: 0 / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.007786, allocations: 4 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.007937, allocations: 47.91 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007942, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.008, allocations: 11.98 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.008012, allocations: 8 kB / 385.2 MB, free: 11.18 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.391e-05/0.008086, allocations: 164.5 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.008117, allocations: 23.97 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.008141, allocations: 21.12 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008143, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.008147, allocations: 7.938 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.00815, allocations: 7.984 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.008612, allocations: 0.5178 MB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.008615, allocations: 4 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.008723, allocations: 35.97 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.008726, allocations: 4 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.008739, allocations: 11.94 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.008742, allocations: 3.938 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008743, allocations: 0 / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.00894, allocations: 289.5 kB / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.008979, allocations: 31.88 kB / 386.3 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.008997, allocations: 7.938 kB / 386.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.009072, allocations: 4 kB / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.009119, allocations: 19.97 kB / 386.4 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.009131, allocations: 7.984 kB / 386.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.009183, allocations: 154.2 kB / 386.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009183, allocations: 0 / 386.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.009351, allocations: 36 kB / 386.6 MB, free: 9.773 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 6.886e-05/0.00942, allocations: 103.2 kB / 386.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.009599, allocations: 103.6 kB / 386.8 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0096, allocations: 0 / 386.8 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.009669, allocations: 65.48 kB / 386.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.009869, allocations: 28.17 kB / 386.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.01058, allocations: 362.6 kB / 387.2 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.11e-05/0.01062, allocations: 68.58 kB / 387.3 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.459e-05/0.01071, allocations: 29.48 kB / 387.3 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.01077, allocations: 20.48 kB / 387.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01077, allocations: 0 / 387.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of Templates: time 0.003529/0.0143, allocations: 2.082 MB / 389.4 MB, free: 6.883 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.1480392212979496]