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.001383/0.001383, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001323/0.001323, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.9768/0.9768, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2919/0.2919, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] 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 2.324e-06/2.324e-06, allocations: 0 / 379.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.503e-05, allocations: 6.25 kB / 379.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004127/0.004162, allocations: 2.041 MB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.006147, allocations: 1.075 MB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.006379, allocations: 11.94 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.006788, allocations: 47.62 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.007286, allocations: 115.3 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.007689, allocations: 111.6 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.008082, allocations: 215.2 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.008226, allocations: 17.8 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.008486, allocations: 111.7 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.008641, allocations: 67.78 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.008677, allocations: 16 kB / 383.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.008822, allocations: 51.92 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.008903, allocations: 39.83 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.008975, allocations: 43.84 kB / 383.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.009332, allocations: 175.2 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.009343, allocations: 4 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.009345, allocations: 0 / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.009355, allocations: 0 / 383.4 MB, free: 13.63 MB / 362.7 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.0008647/0.01022, allocations: 0.5769 MB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.01027, allocations: 16.03 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.01035, allocations: 24.8 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.01063, allocations: 188.2 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.01065, allocations: 8.375 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.01067, allocations: 8.375 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.01101, allocations: 163.6 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01102, allocations: 192 / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.01103, allocations: 4.375 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.01104, allocations: 7.938 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.01112, allocations: 31.91 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.01173, allocations: 0.5683 MB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.01198, allocations: 83.08 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.01203, allocations: 23.67 kB / 385.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.01206, allocations: 4 kB / 385.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.01226, allocations: 134.5 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.287e-06/0.01226, allocations: 7.984 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003013/0.01256, allocations: 125.6 kB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.01261, allocations: 55.41 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.01281, allocations: 262.6 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.01283, allocations: 33.7 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.01294, allocations: 179 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.01298, allocations: 35.86 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.01305, allocations: 51.25 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01322, allocations: 0.504 MB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.01328, allocations: 41.69 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/0.01336, allocations: 108.1 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.01349, allocations: 116 kB / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.01349, allocations: 3.938 kB / 386.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002437/0.01374, allocations: 192.8 kB / 386.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.01377, allocations: 32.83 kB / 387 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.01378, allocations: 8.125 kB / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01379, allocations: 0 / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.01392, allocations: 27.98 kB / 387 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01392, allocations: 11.92 kB / 387 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01403, allocations: 27.88 kB / 387 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01404, allocations: 8 kB / 387.1 MB, free: 9.664 MB / 362.7 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.0001398/0.01418, allocations: 165 kB / 387.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.01422, allocations: 27.86 kB / 387.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.01446, allocations: 133.4 kB / 387.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.01447, allocations: 8 kB / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01447, allocations: 0 / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01448, allocations: 0 / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.01464, allocations: 145.1 kB / 387.5 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01464, allocations: 0 / 387.5 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.01474, allocations: 19.98 kB / 387.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.01475, allocations: 3.938 kB / 387.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.01476, allocations: 4 kB / 387.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01476, allocations: 0 / 387.6 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01477, allocations: 4 kB / 387.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.01506, allocations: 184.2 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.01509, allocations: 23.8 kB / 387.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.01512, allocations: 7.984 kB / 387.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.01521, allocations: 15.98 kB / 387.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.01527, allocations: 19.97 kB / 387.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.01528, allocations: 3.938 kB / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.0154, allocations: 189.7 kB / 388 MB, free: 8.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0154, allocations: 0 / 388 MB, free: 8.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000254/0.01565, allocations: 35.94 kB / 388 MB, free: 8.637 MB / 362.7 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 (13): * Single equations (assignments): 9 * 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.001086/0.01674, allocations: 384.5 kB / 388.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.01698, allocations: 156.6 kB / 388.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01698, allocations: 4.25 kB / 388.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.01706, allocations: 47.64 kB / 388.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01736, allocations: 44.64 kB / 388.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.01793, allocations: 310.1 kB / 389 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.01798, allocations: 75.97 kB / 389 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.004e-05/0.01807, allocations: 33.41 kB / 389.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.01821, allocations: 110.2 kB / 389.2 MB, free: 7.535 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01821, allocations: 0 / 389.2 MB, free: 7.535 MB / 362.7 MB Notification: Performance of Templates: time 0.00704/0.02525, allocations: 3.353 MB / 392.5 MB, free: 4.234 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.0509099010378122]