Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001899/0.001899, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002609/0.002609, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.547/1.547, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.95 MB / 361.6 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 83.88 kB / 0.4974 GB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3612, allocations: 66.09 MB / 0.562 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003495/0.3647, allocations: 1.706 MB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3665, allocations: 0.9773 MB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.3666, allocations: 0 / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.3669, allocations: 39.77 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.3673, allocations: 99.59 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3675, allocations: 87.66 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.3677, allocations: 107.6 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.3678, allocations: 4 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.752e-05/0.3678, allocations: 43.78 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.3679, allocations: 35.78 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.368, allocations: 4 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3681, allocations: 39.98 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.3681, allocations: 27.91 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.3682, allocations: 23.81 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3684, allocations: 133.8 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3684, allocations: 8 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3684, allocations: 0 / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3684, allocations: 0 / 0.5652 GB, free: 0.582 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006167/0.3691, allocations: 349.5 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3691, allocations: 8.031 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.3692, allocations: 8.891 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.3694, allocations: 162.3 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3694, allocations: 4.375 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3695, allocations: 4.312 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3696, allocations: 65.92 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3697, allocations: 4 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3697, allocations: 0 / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3697, allocations: 0 / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.3698, allocations: 23.98 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.3702, allocations: 236.5 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.3703, allocations: 58.56 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.3704, allocations: 20.84 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3704, allocations: 0 / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.3706, allocations: 71.39 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3706, allocations: 0 / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005956/0.3712, allocations: 181.3 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3712, allocations: 63.31 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.3715, allocations: 226.1 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3715, allocations: 25.7 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.3716, allocations: 108.1 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3716, allocations: 19.86 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.3716, allocations: 25.7 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3718, allocations: 326.8 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.3719, allocations: 27.98 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.3719, allocations: 41.64 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3721, allocations: 57.7 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3721, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.3723, allocations: 105.5 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3723, allocations: 8 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3723, allocations: 384 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3723, allocations: 3.984 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.3724, allocations: 16.03 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3724, allocations: 8 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.3725, allocations: 0 / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3725, allocations: 4 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001263/0.3726, allocations: 137.7 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.3726, allocations: 11.91 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3729, allocations: 123.3 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3729, allocations: 4 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3729, allocations: 7.922 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3729, allocations: 0 / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.3734, allocations: 350.9 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3734, allocations: 3.938 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.3734, allocations: 15.98 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3734, allocations: 0 / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3734, allocations: 4 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3734, allocations: 0 / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3734, allocations: 0 / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3737, allocations: 220.2 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.3737, allocations: 11.94 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3738, allocations: 8.031 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.3738, allocations: 4 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.3739, allocations: 15.86 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3739, allocations: 4 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.3741, allocations: 159.2 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3743, allocations: 23.98 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001885/0.3762, allocations: 483.8 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.3764, allocations: 55.91 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3764, allocations: 0 / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.3765, allocations: 39.91 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3768, allocations: 30.06 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.3774, allocations: 276.8 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3775, allocations: 100.7 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.3775, allocations: 15.44 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3775, allocations: 4 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of Templates: time 0.004376/0.3819, allocations: 2.018 MB / 0.5714 GB, free: 10.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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: 8.15609901305288]