Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 46.95 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 59.91 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.295, allocations: 66.04 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00343/0.2984, allocations: 1.983 MB / 0.5638 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3003, allocations: 1.057 MB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.3004, allocations: 3.938 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.3007, allocations: 51.64 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.301, allocations: 111.5 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3013, allocations: 111.6 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.3016, allocations: 211.3 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3017, allocations: 24.47 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.3018, allocations: 87.69 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3019, allocations: 79.56 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.302, allocations: 12 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3021, allocations: 51.98 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.3022, allocations: 43.83 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.3022, allocations: 55.66 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.3026, allocations: 210.8 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3026, allocations: 0 / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3026, allocations: 0 / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3026, allocations: 0 / 0.5658 GB, free: 64 kB / 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.001002/0.3036, allocations: 0.4887 MB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3036, allocations: 8.031 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.3037, allocations: 20.84 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.304, allocations: 186.1 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.304, allocations: 12.31 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.3041, allocations: 12.12 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.3045, allocations: 184.7 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3045, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3046, allocations: 7.938 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3046, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.3051, allocations: 119.9 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.3057, allocations: 480.5 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.3064, allocations: 154.6 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.3067, allocations: 80.73 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3067, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.3071, allocations: 164.9 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.684e-06/0.3071, allocations: 3.938 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009227/0.308, allocations: 265.3 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3081, allocations: 51.41 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.3084, allocations: 244 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3084, allocations: 33.69 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3085, allocations: 124.4 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.3085, allocations: 47.67 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.3086, allocations: 33.7 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3088, allocations: 326.8 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3091, allocations: 105.6 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.3094, allocations: 129.9 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.3099, allocations: 197.7 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3099, allocations: 3.984 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007253/0.3107, allocations: 288.8 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.3107, allocations: 37.73 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3107, allocations: 3.984 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3107, allocations: 8 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3109, allocations: 31.97 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3109, allocations: 7.875 kB / 0.5695 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3111, allocations: 31.92 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3112, allocations: 4 kB / 0.5696 GB, free: 11.95 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.0001469/0.3113, allocations: 141.8 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.3113, allocations: 15.91 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007051/0.312, allocations: 222.9 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.312, allocations: 3.938 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3121, allocations: 3.938 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3121, allocations: 0 / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3122, allocations: 165.2 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3122, allocations: 4 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3124, allocations: 27.95 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3124, allocations: 0 / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3124, allocations: 4 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3124, allocations: 0 / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3124, allocations: 0 / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.3134, allocations: 324.7 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.3134, allocations: 19.89 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.3135, allocations: 0 / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3137, allocations: 23.97 kB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.3137, allocations: 15.97 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3137, allocations: 7.938 kB / 0.5705 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.3139, allocations: 173.8 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3139, allocations: 4.062 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3142, allocations: 47.86 kB / 0.5707 GB, free: 10.7 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 (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.001655/0.3158, allocations: 435.8 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006844/0.3165, allocations: 249 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3165, allocations: 4.062 kB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.3168, allocations: 71.94 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3172, allocations: 51.52 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.3179, allocations: 323.8 kB / 0.5718 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.318, allocations: 120.1 kB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.958e-05/0.3181, allocations: 17.48 kB / 0.5719 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.3182, allocations: 27.42 kB / 0.572 GB, free: 9.547 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3182, allocations: 0 / 0.572 GB, free: 9.547 MB / 414.1 MB Notification: Performance of Templates: time 0.007455/0.3256, allocations: 3.231 MB / 0.5751 GB, free: 6.367 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.096098620997509] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.3342835100047523 0.34846835200000004 0.042838142 Calling exit ...