Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.006844/0.006844, allocations: 109.4 kB / 21.98 MB, free: 5.18 MB / 14.72 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.001553/0.001553, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 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 1.477/1.477, allocations: 230.5 MB / 258.9 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2403/0.2403, allocations: 46.93 MB / 362.3 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 87.84 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3688, allocations: 66.08 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00354/0.3723, allocations: 2.092 MB / 0.5648 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3734, allocations: 0.6127 MB / 0.5654 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.3735, allocations: 3.938 kB / 0.5654 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.3737, allocations: 23.78 kB / 0.5654 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3738, allocations: 31.66 kB / 0.5654 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.3741, allocations: 87.81 kB / 0.5655 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.3744, allocations: 187.3 kB / 0.5657 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3745, allocations: 37.7 kB / 0.5657 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.3747, allocations: 83.77 kB / 0.5658 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3749, allocations: 71.69 kB / 0.5659 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.3749, allocations: 16 kB / 0.5659 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.458e-05/0.375, allocations: 20 kB / 0.5659 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.375, allocations: 43.81 kB / 0.566 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.3751, allocations: 75.66 kB / 0.566 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.3754, allocations: 189.6 kB / 0.5662 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3754, allocations: 3.938 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3754, allocations: 0 / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3754, allocations: 0 / 0.5662 GB, free: 0.6797 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.0008379/0.3762, allocations: 381.8 kB / 0.5666 GB, free: 280 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3763, allocations: 12.03 kB / 0.5666 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.3764, allocations: 32.83 kB / 0.5666 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.3767, allocations: 158.8 kB / 0.5668 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3767, allocations: 8.609 kB / 0.5668 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.3768, allocations: 12.12 kB / 0.5668 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3772, allocations: 161.8 kB / 0.5669 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.3772, allocations: 11.89 kB / 0.567 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3772, allocations: 4 kB / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3772, allocations: 4 kB / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.3775, allocations: 111.9 kB / 0.5671 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009011/0.3784, allocations: 0.6482 MB / 0.5677 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3788, allocations: 142.5 kB / 0.5678 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3789, allocations: 52.83 kB / 0.5679 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.379, allocations: 11.94 kB / 0.5679 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.379, allocations: 30.56 kB / 0.5679 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.379, allocations: 0 / 0.5679 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001411/0.3804, allocations: 408.7 kB / 0.5683 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3805, allocations: 51.41 kB / 0.5684 GB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3806, allocations: 159.1 kB / 0.5685 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3807, allocations: 29.7 kB / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.3807, allocations: 120.3 kB / 0.5687 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.3808, allocations: 67.42 kB / 0.5687 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.3809, allocations: 41.7 kB / 0.5688 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.381, allocations: 330.8 kB / 0.5691 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3812, allocations: 63.95 kB / 0.5691 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3815, allocations: 99.28 kB / 0.5692 GB, free: 13.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.3819, allocations: 177.7 kB / 0.5694 GB, free: 13.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3819, allocations: 0 / 0.5694 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004841/0.3823, allocations: 221.4 kB / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3824, allocations: 6.188 kB / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3824, allocations: 0 / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3824, allocations: 4 kB / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3827, allocations: 51.89 kB / 0.5697 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3827, allocations: 7.938 kB / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3829, allocations: 11.98 kB / 0.5697 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.3829, allocations: 8 kB / 0.5697 GB, free: 12.88 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.0001375/0.383, allocations: 129.9 kB / 0.5698 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.3831, allocations: 15.91 kB / 0.5698 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.3831, allocations: 21.12 kB / 0.5699 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3831, allocations: 4 kB / 0.5699 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3831, allocations: 7.922 kB / 0.5699 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3831, allocations: 0 / 0.5699 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3842, allocations: 0.582 MB / 0.5704 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3842, allocations: 0 / 0.5704 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.3844, allocations: 47.91 kB / 0.5705 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3844, allocations: 7.922 kB / 0.5705 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3844, allocations: 4 kB / 0.5705 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3844, allocations: 0 / 0.5705 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3844, allocations: 4 kB / 0.5705 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.385, allocations: 303.3 kB / 0.5708 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.385, allocations: 31.88 kB / 0.5708 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.3851, allocations: 4 kB / 0.5708 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3853, allocations: 11.98 kB / 0.5708 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.3853, allocations: 19.97 kB / 0.5709 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3853, allocations: 7.984 kB / 0.5709 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.3854, allocations: 115.2 kB / 0.571 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3854, allocations: 0 / 0.571 GB, free: 11.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3857, allocations: 36 kB / 0.571 GB, free: 11.46 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.0001241/0.3858, allocations: 111.1 kB / 0.5711 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.3864, allocations: 167 kB / 0.5713 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3864, allocations: 0 / 0.5713 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3866, allocations: 87.84 kB / 0.5714 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3869, allocations: 27.91 kB / 0.5714 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.3877, allocations: 383.7 kB / 0.5717 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.3881, allocations: 0.7209 MB / 0.5725 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.3882, allocations: 15.44 kB / 0.5725 GB, free: 9.895 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3882, allocations: 0 / 0.5725 GB, free: 9.895 MB / 414.1 MB Notification: Performance of Templates: time 0.004363/0.3925, allocations: 2.146 MB / 0.5746 GB, free: 7.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.722445765975863]