Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001271/0.001271, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001434/0.001434, allocations: 211.8 kB / 23 MB, free: 5.605 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.495/1.495, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.2375/0.2375, allocations: 46.9 MB / 359.4 MB, free: 4.863 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 75.88 kB / 0.4947 GB, free: 8.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4759, allocations: 65.99 MB / 0.5592 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004132/0.48, allocations: 2.046 MB / 0.5612 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.4823, allocations: 1.137 MB / 0.5623 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.4824, allocations: 4 kB / 0.5623 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.4828, allocations: 51.62 kB / 0.5623 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.4832, allocations: 111.4 kB / 0.5624 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.4835, allocations: 111.6 kB / 0.5625 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.4838, allocations: 199.4 kB / 0.5627 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.4839, allocations: 37.31 kB / 0.5628 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.4841, allocations: 87.58 kB / 0.5628 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4842, allocations: 75.61 kB / 0.5629 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.4843, allocations: 12 kB / 0.5629 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.4844, allocations: 55.97 kB / 0.563 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.4845, allocations: 35.84 kB / 0.563 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.4846, allocations: 75.48 kB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.4849, allocations: 197.9 kB / 0.5633 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4849, allocations: 0 / 0.5633 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4849, allocations: 7.875 kB / 0.5633 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.485, allocations: 4 kB / 0.5633 GB, free: 0.793 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001093/0.486, allocations: 0.5679 MB / 0.5638 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4861, allocations: 8.031 kB / 0.5638 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.4862, allocations: 20.84 kB / 0.5639 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.4866, allocations: 251.9 kB / 0.5641 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.4866, allocations: 12.38 kB / 0.5641 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.4867, allocations: 4.375 kB / 0.5641 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.4871, allocations: 152.4 kB / 0.5643 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4871, allocations: 4 kB / 0.5643 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.4871, allocations: 4 kB / 0.5643 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4872, allocations: 3.984 kB / 0.5643 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.4876, allocations: 115.9 kB / 0.5644 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.4884, allocations: 0.5438 MB / 0.5649 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.489, allocations: 158.5 kB / 0.5651 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.4893, allocations: 72.8 kB / 0.5651 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.4893, allocations: 0 / 0.5651 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004033/0.4897, allocations: 139.2 kB / 0.5653 GB, free: 14.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.4897, allocations: 0 / 0.5653 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009146/0.4906, allocations: 261.3 kB / 0.5655 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.4907, allocations: 51.41 kB / 0.5656 GB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.491, allocations: 240.8 kB / 0.5658 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.491, allocations: 29.7 kB / 0.5658 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.4911, allocations: 124.4 kB / 0.5659 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.4912, allocations: 43.81 kB / 0.566 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.4913, allocations: 37.7 kB / 0.566 GB, free: 13.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.4915, allocations: 338.8 kB / 0.5663 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.4917, allocations: 63.94 kB / 0.5664 GB, free: 13.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.492, allocations: 109.5 kB / 0.5665 GB, free: 13.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.4925, allocations: 196.7 kB / 0.5667 GB, free: 13.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4925, allocations: 0 / 0.5667 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006484/0.4932, allocations: 255 kB / 0.5669 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.4933, allocations: 37.83 kB / 0.567 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4933, allocations: 0 / 0.567 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4933, allocations: 4 kB / 0.567 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.4935, allocations: 39.89 kB / 0.567 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.4935, allocations: 7.984 kB / 0.567 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.4937, allocations: 35.8 kB / 0.5671 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.4937, allocations: 4 kB / 0.5671 GB, free: 12.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001714/0.4939, allocations: 133.8 kB / 0.5672 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.4939, allocations: 23.84 kB / 0.5672 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/0.4945, allocations: 210.8 kB / 0.5674 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4945, allocations: 0 / 0.5674 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4946, allocations: 0 / 0.5674 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4946, allocations: 3.938 kB / 0.5674 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.4948, allocations: 245.5 kB / 0.5677 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4948, allocations: 0 / 0.5677 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.495, allocations: 23.97 kB / 0.5677 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.495, allocations: 0 / 0.5677 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.495, allocations: 8 kB / 0.5677 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.495, allocations: 0 / 0.5677 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.495, allocations: 0 / 0.5677 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/0.4959, allocations: 304.7 kB / 0.568 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.496, allocations: 97 kB / 0.5681 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.496, allocations: 11.92 kB / 0.5681 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4962, allocations: 19.97 kB / 0.5681 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.4963, allocations: 23.98 kB / 0.5681 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.4963, allocations: 4 kB / 0.5681 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4965, allocations: 173.6 kB / 0.5683 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4965, allocations: 0 / 0.5683 GB, free: 11.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.4968, allocations: 43.92 kB / 0.5683 GB, free: 11.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001608/0.4984, allocations: 407.2 kB / 0.5687 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006339/0.499, allocations: 215.1 kB / 0.5689 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.499, allocations: 4 kB / 0.5689 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.4993, allocations: 71.92 kB / 0.569 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.4996, allocations: 44.83 kB / 0.569 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008726/0.5005, allocations: 331.6 kB / 0.5694 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.501, allocations: 0.728 MB / 0.5701 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.5011, allocations: 21.55 kB / 0.5701 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.5011, allocations: 23.42 kB / 0.5701 GB, free: 9.449 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5012, allocations: 0 / 0.5701 GB, free: 9.449 MB / 414.1 MB Notification: Performance of Templates: time 0.007291/0.5084, allocations: 2.89 MB / 0.5729 GB, free: 6.59 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.41013899911195]