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.001558/0.001558, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001784/0.001784, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.373/1.373, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.221/0.221, allocations: 46.93 MB / 361.5 MB, free: 4.195 MB / 286.1 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 0.002372/0.002372, allocations: 75.88 kB / 0.4975 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3121, allocations: 66.08 MB / 0.562 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003487/0.3156, allocations: 2.054 MB / 0.564 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.3176, allocations: 1.138 MB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-05/0.3177, allocations: 0 / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.318, allocations: 55.62 kB / 0.5652 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.3183, allocations: 111.4 kB / 0.5653 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.3186, allocations: 111.6 kB / 0.5654 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.3189, allocations: 207.5 kB / 0.5656 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.319, allocations: 24.47 kB / 0.5656 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3192, allocations: 91.56 kB / 0.5657 GB, free: 464 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3193, allocations: 75.62 kB / 0.5658 GB, free: 388 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3193, allocations: 12 kB / 0.5658 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3194, allocations: 59.91 kB / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.3195, allocations: 35.84 kB / 0.5659 GB, free: 280 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.3196, allocations: 79.53 kB / 0.566 GB, free: 200 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.3199, allocations: 194.9 kB / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3199, allocations: 0 / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3199, allocations: 0 / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3199, allocations: 7.938 kB / 0.5661 GB, free: 0 / 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.0009423/0.3209, allocations: 0.4927 MB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3209, allocations: 11.97 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.321, allocations: 20.84 kB / 0.5667 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3213, allocations: 190.2 kB / 0.5668 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3213, allocations: 8.312 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.3214, allocations: 12.38 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.3218, allocations: 150.7 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3218, allocations: 0 / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3218, allocations: 7.984 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3218, allocations: 0 / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.3222, allocations: 115.8 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.3229, allocations: 0.5155 MB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.3235, allocations: 158.5 kB / 0.5678 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.3237, allocations: 72.8 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3237, allocations: 3.938 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.3241, allocations: 135.2 kB / 0.568 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.3241, allocations: 0 / 0.568 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008279/0.325, allocations: 257.4 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.325, allocations: 51.41 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3252, allocations: 242.1 kB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3253, allocations: 33.7 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3254, allocations: 124.4 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3254, allocations: 43.67 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.3255, allocations: 37.7 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3256, allocations: 334.8 kB / 0.5691 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.3259, allocations: 71.94 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.3262, allocations: 104.2 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.3266, allocations: 189.8 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3266, allocations: 4 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006179/0.3272, allocations: 254.4 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.3273, allocations: 41.77 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3273, allocations: 0 / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3273, allocations: 4 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.3275, allocations: 39.95 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3275, allocations: 0 / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3277, allocations: 27.88 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.3277, allocations: 11.98 kB / 0.5698 GB, free: 12.02 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.0001499/0.3278, allocations: 139.1 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3279, allocations: 15.91 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.3285, allocations: 210.9 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3285, allocations: 0 / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3285, allocations: 3.938 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3285, allocations: 3.938 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.3287, allocations: 220.5 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3287, allocations: 0 / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3288, allocations: 27.91 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3288, allocations: 0 / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3289, allocations: 4 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3289, allocations: 0 / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3289, allocations: 0 / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.3297, allocations: 312.8 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.3297, allocations: 19.89 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3297, allocations: 3.984 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3299, allocations: 28.03 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.33, allocations: 15.92 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.33, allocations: 7.984 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.3301, allocations: 176.4 kB / 0.5709 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3301, allocations: 0 / 0.5709 GB, free: 10.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.3304, allocations: 35.94 kB / 0.5709 GB, free: 10.74 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.00145/0.3318, allocations: 401 kB / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.3325, allocations: 219.1 kB / 0.5715 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3325, allocations: 0 / 0.5715 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.3327, allocations: 71.88 kB / 0.5716 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3331, allocations: 55.17 kB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.3338, allocations: 353.5 kB / 0.572 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.3342, allocations: 0.7281 MB / 0.5727 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.3343, allocations: 27.44 kB / 0.5727 GB, free: 8.984 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3343, allocations: 0 / 0.5727 GB, free: 8.984 MB / 414.1 MB Notification: Performance of Templates: time 0.005372/0.3396, allocations: 2.858 MB / 0.5755 GB, free: 6.133 MB / 414.1 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: 7.54742606705986] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.3490708291064948 0.36398691999999994 0.040945569 Calling exit ...