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.001715/0.001715, allocations: 82.09 kB / 21.25 MB, free: 0.5469 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.001467/0.001467, allocations: 160.4 kB / 24.5 MB, free: 3.719 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.462/1.462, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.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.206/0.206, allocations: 34.26 MB / 295.4 MB, free: 14.47 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.002421/0.002421, allocations: 75.88 kB / 443.2 MB, free: 6.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3206, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002841/0.3234, allocations: 1.991 MB / 0.4993 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.325, allocations: 1.065 MB / 0.5003 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3251, allocations: 3.219 kB / 0.5003 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.3254, allocations: 51.25 kB / 0.5004 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.3257, allocations: 109.3 kB / 0.5005 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.3259, allocations: 118.5 kB / 0.5006 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.3261, allocations: 204.3 kB / 0.5008 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3263, allocations: 19.59 kB / 0.5008 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3264, allocations: 82.83 kB / 0.5009 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3265, allocations: 79.05 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.3265, allocations: 9.969 kB / 0.501 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.3266, allocations: 57.73 kB / 0.501 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.3267, allocations: 36.7 kB / 0.501 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.3267, allocations: 62.38 kB / 0.5011 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.327, allocations: 200.2 kB / 0.5013 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.327, allocations: 0 / 0.5013 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.327, allocations: 0 / 0.5013 GB, free: 27.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.327, allocations: 0 / 0.5013 GB, free: 27.28 MB / 446.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.0008373/0.3278, allocations: 0.5066 MB / 0.5018 GB, free: 26.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3279, allocations: 9.125 kB / 0.5018 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.3279, allocations: 18.19 kB / 0.5018 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.3282, allocations: 183.8 kB / 0.502 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3282, allocations: 3.594 kB / 0.502 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.3282, allocations: 10.72 kB / 0.502 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.3286, allocations: 189.2 kB / 0.5022 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3286, allocations: 0 / 0.5022 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3286, allocations: 3.219 kB / 0.5022 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3286, allocations: 0 / 0.5022 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.329, allocations: 114.8 kB / 0.5023 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.3295, allocations: 482.5 kB / 0.5028 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.3301, allocations: 169.8 kB / 0.5029 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.3303, allocations: 66.06 kB / 0.503 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3303, allocations: 3.062 kB / 0.503 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.3307, allocations: 171.2 kB / 0.5032 GB, free: 25.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3307, allocations: 0 / 0.5032 GB, free: 25.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008256/0.3315, allocations: 258.7 kB / 0.5034 GB, free: 25.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.3315, allocations: 58.59 kB / 0.5035 GB, free: 25.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3317, allocations: 240.5 kB / 0.5037 GB, free: 25.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3317, allocations: 32.95 kB / 0.5037 GB, free: 25.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.3318, allocations: 132.7 kB / 0.5038 GB, free: 25.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3318, allocations: 37.28 kB / 0.5039 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.3319, allocations: 37.56 kB / 0.5039 GB, free: 25.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.3319, allocations: 332.9 kB / 0.5042 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.3322, allocations: 96.41 kB / 0.5043 GB, free: 25.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.3324, allocations: 135.9 kB / 0.5045 GB, free: 24.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.3328, allocations: 192.8 kB / 0.5046 GB, free: 24.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3329, allocations: 0 / 0.5046 GB, free: 24.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005841/0.3334, allocations: 293.2 kB / 0.5049 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3335, allocations: 35.98 kB / 0.5049 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3335, allocations: 0 / 0.5049 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3335, allocations: 7.219 kB / 0.505 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3337, allocations: 44.08 kB / 0.505 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3337, allocations: 0 / 0.505 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.3338, allocations: 30.55 kB / 0.505 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3338, allocations: 7.094 kB / 0.505 GB, free: 24.62 MB / 446.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 8.38e-05/0.3339, allocations: 145.1 kB / 0.5052 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.334, allocations: 17.22 kB / 0.5052 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.3345, allocations: 218.9 kB / 0.5054 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3345, allocations: 2.781 kB / 0.5054 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3345, allocations: 0 / 0.5054 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3345, allocations: 3.234 kB / 0.5054 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3347, allocations: 168.9 kB / 0.5056 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3347, allocations: 3.141 kB / 0.5056 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.3348, allocations: 29.17 kB / 0.5056 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3348, allocations: 4 kB / 0.5056 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3348, allocations: 4 kB / 0.5056 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3348, allocations: 2.781 kB / 0.5056 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3348, allocations: 3.938 kB / 0.5056 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.3356, allocations: 314.7 kB / 0.5059 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.3357, allocations: 18.53 kB / 0.5059 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3357, allocations: 7.125 kB / 0.5059 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3359, allocations: 18.2 kB / 0.506 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.3359, allocations: 20.47 kB / 0.506 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3359, allocations: 2.938 kB / 0.506 GB, free: 24.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.336, allocations: 176.4 kB / 0.5061 GB, free: 23.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 3.938 kB / 0.5061 GB, free: 23.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3363, allocations: 39.5 kB / 0.5062 GB, free: 23.95 MB / 446.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 (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.001505/0.3378, allocations: 437.5 kB / 0.5066 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.3384, allocations: 240.9 kB / 0.5068 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3384, allocations: 3.094 kB / 0.5068 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.3386, allocations: 83.48 kB / 0.5069 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3389, allocations: 51.91 kB / 0.507 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.3395, allocations: 317.7 kB / 0.5073 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.173e-05/0.3395, allocations: 125.4 kB / 0.5074 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.665e-05/0.3396, allocations: 25.11 kB / 0.5074 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.3397, allocations: 21.12 kB / 0.5074 GB, free: 23.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3397, allocations: 0 / 0.5074 GB, free: 23.25 MB / 446.1 MB Notification: Performance of Templates: time 0.006048/0.3457, allocations: 3.069 MB / 0.5104 GB, free: 22.87 MB / 446.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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.944322443916462] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.35382359696086496 0.364779138 0.035207592 Calling exit ...