Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001779/0.001779, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002001/0.002001, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.557/1.557, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2594/0.2594, allocations: 46.89 MB / 361.1 MB, free: 4.652 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") [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.002406/0.002406, allocations: 79.88 kB / 0.4969 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4486, allocations: 65.99 MB / 0.5613 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003776/0.4524, allocations: 1.946 MB / 0.5632 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.4546, allocations: 1.139 MB / 0.5643 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.4547, allocations: 15.81 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.4553, allocations: 259.3 kB / 0.5646 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.4559, allocations: 231.2 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.4561, allocations: 119.6 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.4565, allocations: 267.3 kB / 0.5652 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4566, allocations: 20.44 kB / 0.5652 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.4568, allocations: 139.5 kB / 0.5653 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.4571, allocations: 203.5 kB / 0.5655 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.4571, allocations: 12 kB / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.4573, allocations: 63.97 kB / 0.5656 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4574, allocations: 75.62 kB / 0.5657 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4575, allocations: 91.3 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.4578, allocations: 258.7 kB / 0.566 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4578, allocations: 0 / 0.566 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4579, allocations: 0 / 0.566 GB, free: 164 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.4579, allocations: 0 / 0.566 GB, free: 164 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000905/0.4588, allocations: 0.5947 MB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4588, allocations: 12.03 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.4589, allocations: 28.75 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.4593, allocations: 306.6 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.4593, allocations: 384 / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.4594, allocations: 16.36 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.4596, allocations: 103.9 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4596, allocations: 3.938 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.4597, allocations: 7.984 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-06/0.4597, allocations: 4 kB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.4598, allocations: 47.89 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.4605, allocations: 484.7 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.4609, allocations: 125.2 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.461, allocations: 37.83 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.461, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.4612, allocations: 125.1 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.4612, allocations: 0 / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001444/0.4627, allocations: 0.5201 MB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.4628, allocations: 77.11 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.4633, allocations: 0.4899 MB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.4634, allocations: 33.7 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4635, allocations: 172.4 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.4636, allocations: 67.42 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.4637, allocations: 45.7 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4639, allocations: 346.8 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.464, allocations: 55.98 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.4642, allocations: 107.2 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.4645, allocations: 155.3 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4645, allocations: 0 / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00044/0.4649, allocations: 241.5 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4649, allocations: 10.34 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4649, allocations: 0 / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.465, allocations: 7.938 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4651, allocations: 47.92 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.4651, allocations: 0 / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.845e-05/0.4652, allocations: 7.984 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4652, allocations: 12 kB / 0.5701 GB, free: 11.63 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002001/0.4654, allocations: 173.7 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.4655, allocations: 43.77 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.4661, allocations: 269.3 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.4661, allocations: 3.938 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4661, allocations: 4 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4661, allocations: 0 / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.4671, allocations: 0.7428 MB / 0.5713 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4671, allocations: 3.938 kB / 0.5713 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.4672, allocations: 27.98 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4672, allocations: 4 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.4672, allocations: 7.984 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4672, allocations: 4 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4672, allocations: 0 / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.4678, allocations: 432.7 kB / 0.5718 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.4679, allocations: 104.9 kB / 0.5719 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.4679, allocations: 8.188 kB / 0.5719 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.4681, allocations: 12 kB / 0.5719 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.4681, allocations: 35.78 kB / 0.5719 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.4682, allocations: 8 kB / 0.5719 GB, free: 9.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.4686, allocations: 371.1 kB / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4686, allocations: 0 / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.4689, allocations: 55.92 kB / 0.5724 GB, free: 9.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002047/0.471, allocations: 0.5001 MB / 0.5728 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.4713, allocations: 143.8 kB / 0.573 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4713, allocations: 3.938 kB / 0.573 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.4715, allocations: 71.91 kB / 0.573 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.4721, allocations: 58.33 kB / 0.5731 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.4732, allocations: 0.6329 MB / 0.5737 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.4736, allocations: 0.7831 MB / 0.5745 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.4737, allocations: 45.86 kB / 0.5745 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.4738, allocations: 35.42 kB / 0.5746 GB, free: 7.086 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4738, allocations: 0 / 0.5746 GB, free: 7.086 MB / 414.1 MB Notification: Performance of Templates: time 0.007987/0.4818, allocations: 3.263 MB / 0.5778 GB, free: 3.848 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.65305158495903]