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.001271/0.001271, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001336/0.001336, allocations: 206.6 kB / 24.48 MB, free: 3.973 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2585/0.2585, allocations: 46.96 MB / 361.6 MB, free: 4.121 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002963/0.002963, allocations: 67.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4025, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.004008/0.4065, allocations: 1.998 MB / 0.5638 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.4077, allocations: 0.566 MB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.4078, allocations: 0 / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.4079, allocations: 23.8 kB / 0.5643 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.408, allocations: 43.56 kB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.4084, allocations: 79.89 kB / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.4087, allocations: 183.3 kB / 0.5646 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4089, allocations: 33.72 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.4091, allocations: 91.69 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.4092, allocations: 83.67 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.4093, allocations: 12 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.4093, allocations: 20 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.4094, allocations: 35.84 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.181e-05/0.4095, allocations: 67.7 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.4098, allocations: 181.8 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4098, allocations: 3.984 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4098, allocations: 0 / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4098, allocations: 0 / 0.5651 GB, free: 0.7617 MB / 398.1 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.0008244/0.4106, allocations: 381.8 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4106, allocations: 12.03 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.4108, allocations: 24.83 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.4111, allocations: 165.8 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4111, allocations: 8.609 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.4111, allocations: 16.12 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.4116, allocations: 225.1 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.4116, allocations: 3.953 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.4116, allocations: 4 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4116, allocations: 7.938 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.4119, allocations: 107.9 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.4129, allocations: 0.598 MB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.4132, allocations: 130.6 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.4134, allocations: 56.83 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.4134, allocations: 0 / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.4135, allocations: 46.44 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 9.61e-07/0.4135, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001411/0.4149, allocations: 400.4 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.4149, allocations: 59.41 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.4151, allocations: 147.9 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.4151, allocations: 29.7 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.4152, allocations: 120.4 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.4153, allocations: 67.42 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.4153, allocations: 45.67 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4155, allocations: 326.8 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.4157, allocations: 63.97 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.4159, allocations: 103.3 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.4163, allocations: 169.8 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4164, allocations: 0 / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005177/0.4169, allocations: 221.3 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4169, allocations: 4 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4169, allocations: 4 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4169, allocations: 4.094 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.4173, allocations: 47.91 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4173, allocations: 4 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.4174, allocations: 19.92 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.4175, allocations: 4 kB / 0.5686 GB, free: 12.98 MB / 414.1 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 0.0001303/0.4176, allocations: 129.8 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.4176, allocations: 15.91 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.4177, allocations: 17.12 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4177, allocations: 8 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4177, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4177, allocations: 3.938 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4187, allocations: 0.5315 MB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.4188, allocations: 3.938 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.419, allocations: 47.97 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.419, allocations: 0 / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.419, allocations: 0 / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4191, allocations: 7.938 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4191, allocations: 7.922 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.4196, allocations: 299.2 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.4197, allocations: 35.81 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4197, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.42, allocations: 19.98 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.42, allocations: 15.97 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.4201, allocations: 4 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.4202, allocations: 118.9 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4202, allocations: 0 / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.4205, allocations: 36 kB / 0.5699 GB, free: 11.62 MB / 414.1 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 0.0001772/0.4206, allocations: 103.2 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.4212, allocations: 162.4 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4212, allocations: 0 / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.4214, allocations: 79.89 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.4218, allocations: 31.91 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.4227, allocations: 395.7 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.4228, allocations: 108 kB / 0.5707 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4229, allocations: 15.44 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4229, allocations: 0 / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Templates: time 0.004602/0.4275, allocations: 2.186 MB / 0.5729 GB, free: 8.504 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.92777989100432]