Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001972/0.001972, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002395/0.002395, allocations: 211.5 kB / 24.48 MB, free: 3.957 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.569/1.569, allocations: 230.5 MB / 258.1 MB, free: 7.746 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.2371/0.2371, allocations: 46.95 MB / 361.6 MB, free: 3.941 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 79.88 kB / 0.4974 GB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3581, allocations: 66.09 MB / 0.562 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003527/0.3616, allocations: 1.71 MB / 0.5636 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.3645, allocations: 1.66 MB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.519e-05/0.3646, allocations: 4 kB / 0.5653 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.3649, allocations: 39.77 kB / 0.5653 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.3653, allocations: 99.55 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3655, allocations: 83.66 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.3657, allocations: 99.69 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3658, allocations: 11.98 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.3659, allocations: 47.78 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3661, allocations: 47.7 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3661, allocations: 8 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3663, allocations: 99.94 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.3664, allocations: 23.92 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.3664, allocations: 23.94 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.3668, allocations: 173.8 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3668, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3668, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3668, allocations: 7.922 kB / 0.566 GB, free: 15.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006564/0.3674, allocations: 349.5 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3675, allocations: 8.031 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.3675, allocations: 12.84 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.3679, allocations: 154.8 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3679, allocations: 4.375 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3679, allocations: 8.125 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.3681, allocations: 101.1 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3681, allocations: 0 / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3681, allocations: 0 / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3681, allocations: 4 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.3682, allocations: 15.98 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3686, allocations: 236.5 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3688, allocations: 58.67 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/0.3689, allocations: 20.86 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3689, allocations: 3.984 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.3691, allocations: 67.39 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.592e-06/0.3691, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006271/0.3697, allocations: 185.5 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.3698, allocations: 81.11 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.37, allocations: 166.4 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.37, allocations: 33.64 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.3701, allocations: 96.12 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.3702, allocations: 31.75 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.3702, allocations: 29.7 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.3704, allocations: 326.8 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.3705, allocations: 23.98 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3706, allocations: 68.27 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3707, allocations: 53.7 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3707, allocations: 4 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.3709, allocations: 97.58 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3709, allocations: 12.06 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3709, allocations: 0 / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3709, allocations: 0 / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.371, allocations: 19.92 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3711, allocations: 4 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.3711, allocations: 4.188 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.3711, allocations: 4 kB / 0.5682 GB, free: 13.36 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.000125/0.3712, allocations: 132 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3713, allocations: 7.953 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3715, allocations: 122.5 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3716, allocations: 4 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3716, allocations: 0 / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3716, allocations: 0 / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.3721, allocations: 354.9 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3721, allocations: 0 / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.3721, allocations: 12 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3721, allocations: 3.984 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3721, allocations: 0 / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3721, allocations: 4 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3721, allocations: 3.938 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3724, allocations: 212.2 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.3724, allocations: 23.88 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.3725, allocations: 4 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.3725, allocations: 0 / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.3726, allocations: 19.86 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3726, allocations: 7.938 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3728, allocations: 131.9 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3728, allocations: 0 / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.3731, allocations: 47.86 kB / 0.5692 GB, free: 12.22 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.002124/0.3752, allocations: 0.5817 MB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3754, allocations: 59.91 kB / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3754, allocations: 0 / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.3755, allocations: 27.98 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.3759, allocations: 36.05 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.3764, allocations: 232.4 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.647e-05/0.3765, allocations: 85.31 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.3765, allocations: 19.42 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3765, allocations: 0 / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.004936/0.3815, allocations: 2.44 MB / 0.5726 GB, free: 8.895 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.216903996653855]