Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.001732/0.001732, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002299/0.002299, allocations: 217.8 kB / 24.47 MB, free: 4.359 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.536/1.536, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2557/0.2557, allocations: 46.88 MB / 361.1 MB, free: 4.656 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-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.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87") [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.002373/0.002373, allocations: 83.88 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3713, allocations: 65.98 MB / 0.5613 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003681/0.375, allocations: 2.306 MB / 0.5636 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.3773, allocations: 1.341 MB / 0.5649 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.3775, allocations: 7.938 kB / 0.5649 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.3779, allocations: 139.3 kB / 0.565 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005358/0.3784, allocations: 258.9 kB / 0.5653 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3788, allocations: 191.5 kB / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.3794, allocations: 458.7 kB / 0.5659 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3795, allocations: 51.72 kB / 0.5659 GB, free: 280 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.38, allocations: 342.9 kB / 0.5663 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3802, allocations: 179.1 kB / 0.5664 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.3803, allocations: 16 kB / 0.5664 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.3804, allocations: 71.97 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.3806, allocations: 155.4 kB / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3808, allocations: 202.3 kB / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.3813, allocations: 489.4 kB / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3814, allocations: 0 / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3814, allocations: 0 / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.3814, allocations: 0 / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001259/0.3826, allocations: 0.9211 MB / 0.5682 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.3826, allocations: 8.031 kB / 0.5682 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.3828, allocations: 72.47 kB / 0.5683 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.3834, allocations: 444.8 kB / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3834, allocations: 12.38 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.3834, allocations: 20.31 kB / 0.5687 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.3838, allocations: 197.2 kB / 0.5689 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3838, allocations: 8 kB / 0.5689 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3838, allocations: 3.984 kB / 0.5689 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3839, allocations: 4 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.3841, allocations: 91.88 kB / 0.569 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3851, allocations: 0.825 MB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.3858, allocations: 230.5 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.386, allocations: 87.45 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.386, allocations: 8.219 kB / 0.5702 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.3864, allocations: 200.2 kB / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.3864, allocations: 0 / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.0026/0.389, allocations: 1.202 MB / 0.5715 GB, free: 10.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3891, allocations: 140.4 kB / 0.5717 GB, free: 10.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3902, allocations: 0.9575 MB / 0.5726 GB, free: 9.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.3902, allocations: 37.7 kB / 0.5726 GB, free: 9.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.3905, allocations: 273 kB / 0.5729 GB, free: 8.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.3906, allocations: 142.8 kB / 0.573 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3907, allocations: 86.08 kB / 0.5731 GB, free: 8.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3909, allocations: 325.9 kB / 0.5734 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.3911, allocations: 108.8 kB / 0.5735 GB, free: 8.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.3914, allocations: 187.2 kB / 0.5737 GB, free: 7.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.392, allocations: 322.9 kB / 0.574 GB, free: 7.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.392, allocations: 0 / 0.574 GB, free: 7.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008242/0.3928, allocations: 444.8 kB / 0.5744 GB, free: 7.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3928, allocations: 4 kB / 0.5744 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3928, allocations: 4 kB / 0.5744 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3928, allocations: 4 kB / 0.5744 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.3931, allocations: 87.89 kB / 0.5745 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3931, allocations: 12.3 kB / 0.5745 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.3933, allocations: 19.98 kB / 0.5746 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.3933, allocations: 20 kB / 0.5746 GB, free: 7.031 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002984/0.3936, allocations: 259.9 kB / 0.5748 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3937, allocations: 75.48 kB / 0.5749 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.3948, allocations: 0.5149 MB / 0.5754 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3948, allocations: 8 kB / 0.5754 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3948, allocations: 0 / 0.5754 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.3948, allocations: 4 kB / 0.5754 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.3966, allocations: 1.338 MB / 0.5767 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3966, allocations: 4 kB / 0.5767 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.3967, allocations: 59.91 kB / 0.5768 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.3968, allocations: 12.03 kB / 0.5768 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3968, allocations: 19.92 kB / 0.5768 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.3968, allocations: 4 kB / 0.5768 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3968, allocations: 4.25 kB / 0.5768 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.3977, allocations: 0.8006 MB / 0.5776 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.398, allocations: 180.6 kB / 0.5778 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.398, allocations: 16 kB / 0.5778 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.3983, allocations: 15.98 kB / 0.5778 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.3984, allocations: 47.83 kB / 0.5778 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.3984, allocations: 20 kB / 0.5779 GB, free: 3.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007878/0.3992, allocations: 0.706 MB / 0.5786 GB, free: 2.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3992, allocations: 0 / 0.5786 GB, free: 2.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005331/0.3997, allocations: 87.92 kB / 0.5786 GB, free: 2.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001943/0.4017, allocations: 0.5263 MB / 0.5791 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006526/0.4023, allocations: 291.6 kB / 0.5794 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4023, allocations: 0 / 0.5794 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.4026, allocations: 144.4 kB / 0.5796 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.4036, allocations: 139.4 kB / 0.5797 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.4055, allocations: 1.233 MB / 0.5809 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006977/0.4062, allocations: 0.9133 MB / 0.5818 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.4064, allocations: 79.28 kB / 0.5819 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.4065, allocations: 51.42 kB / 0.5819 GB, free: 15.45 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4065, allocations: 0.75 kB / 0.5819 GB, free: 15.45 MB / 430.1 MB Notification: Performance of Templates: time 0.01171/0.4182, allocations: 5.664 MB / 0.5874 GB, free: 9.824 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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: 5.689598015975207]