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.001934/0.001934, allocations: 92.27 kB / 20.96 MB, free: 3.434 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.002566/0.002566, allocations: 156.9 kB / 24.26 MB, free: 140 kB / 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 1.589/1.589, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.4131/0.4131, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 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 5.11e-06/5.11e-06, allocations: 4 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.824e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003796/0.003824, allocations: 1.988 MB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.006055, allocations: 1.063 MB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.006196, allocations: 4 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.006529, allocations: 47.59 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.006973, allocations: 119.3 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.007335, allocations: 111.6 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.007706, allocations: 215.3 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.007813, allocations: 13.81 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.008064, allocations: 115.6 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.008214, allocations: 59.8 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.008254, allocations: 12 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.008396, allocations: 51.92 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.829e-05/0.008484, allocations: 43.83 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.00858, allocations: 47.84 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.009003, allocations: 199.3 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.009011, allocations: 7.984 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.009013, allocations: 0 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.009019, allocations: 0 / 381.4 MB, free: 14.7 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.001107/0.01013, allocations: 0.4887 MB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.01016, allocations: 12.03 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.01027, allocations: 24.8 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.01068, allocations: 193.3 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.0107, allocations: 8.375 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.01073, allocations: 8.375 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.01123, allocations: 184.7 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.01124, allocations: 4.125 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.01126, allocations: 4.375 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01127, allocations: 11.94 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.01175, allocations: 111.9 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.01247, allocations: 472.6 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.01326, allocations: 158.6 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.01354, allocations: 76.72 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.01356, allocations: 4 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004325/0.01399, allocations: 160.9 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.01399, allocations: 4 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009958/0.01499, allocations: 273.2 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.01505, allocations: 55.39 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.01537, allocations: 240.2 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.0154, allocations: 33.7 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.01575, allocations: 128.3 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.0158, allocations: 39.72 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.01588, allocations: 33.7 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.01609, allocations: 338.8 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.01641, allocations: 101.6 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.01675, allocations: 133.9 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.01733, allocations: 197 kB / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01733, allocations: 0 / 384.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007813/0.01811, allocations: 296.7 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.01816, allocations: 37.7 kB / 385.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01817, allocations: 0 / 385.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.01819, allocations: 4 kB / 385.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.01839, allocations: 35.91 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.0184, allocations: 4 kB / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.0186, allocations: 35.98 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.01863, allocations: 4 kB / 385.2 MB, free: 10.57 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.0001692/0.0188, allocations: 138.3 kB / 385.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.01886, allocations: 27.8 kB / 385.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.01959, allocations: 219 kB / 385.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01959, allocations: 4 kB / 385.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.0196, allocations: 0 / 385.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.0196, allocations: 0 / 385.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.01983, allocations: 165.2 kB / 385.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01983, allocations: 0 / 385.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.02001, allocations: 27.97 kB / 385.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.02001, allocations: 0 / 385.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.02003, allocations: 4 kB / 385.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.02003, allocations: 0 / 385.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.02004, allocations: 0 / 385.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009952/0.02103, allocations: 335.4 kB / 386.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.02107, allocations: 19.88 kB / 386.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.0211, allocations: 8 kB / 386.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.02128, allocations: 28.03 kB / 386.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.02136, allocations: 15.97 kB / 386.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.02138, allocations: 4 kB / 386.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.02157, allocations: 173.8 kB / 386.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02157, allocations: 0 / 386.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002856/0.02186, allocations: 43.95 kB / 386.4 MB, free: 9.332 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.001993/0.02385, allocations: 434.3 kB / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000719/0.02457, allocations: 244.9 kB / 387.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02457, allocations: 0 / 387.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.02487, allocations: 71.94 kB / 387.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.02525, allocations: 60.86 kB / 387.2 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.02602, allocations: 332.3 kB / 387.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.02615, allocations: 116.2 kB / 387.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.162e-05/0.02625, allocations: 25.47 kB / 387.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.02631, allocations: 20.5 kB / 387.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02631, allocations: 0 / 387.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of Templates: time 0.007528/0.03384, allocations: 3.096 MB / 390.8 MB, free: 5.078 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.025268935947679]