Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001408/0.001408, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001509/0.001509, allocations: 167.5 kB / 23.95 MB, free: 4.172 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.405/1.405, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1967/0.1967, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 440.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.01e-05, allocations: 2.281 kB / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003477/0.003507, allocations: 1.986 MB / 442.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.005512, allocations: 1.06 MB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.005613, allocations: 0 / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.005942, allocations: 51.62 kB / 443.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.006287, allocations: 115.3 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.00656, allocations: 115.5 kB / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.00688, allocations: 211.4 kB / 443.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.00699, allocations: 21.73 kB / 443.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.007163, allocations: 111.7 kB / 443.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.007287, allocations: 63.8 kB / 443.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.00732, allocations: 12 kB / 443.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.007441, allocations: 55.91 kB / 444 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.007522, allocations: 35.84 kB / 444 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.007603, allocations: 51.77 kB / 444 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.007928, allocations: 203.3 kB / 444.2 MB, free: 4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.007931, allocations: 4 kB / 444.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007931, allocations: 0 / 444.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.007936, allocations: 0 / 444.2 MB, free: 3.996 MB / 366.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.001006/0.008943, allocations: 0.4888 MB / 444.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.008974, allocations: 12.03 kB / 444.7 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.009037, allocations: 24.8 kB / 444.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.009349, allocations: 189.3 kB / 445 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.009369, allocations: 8.375 kB / 445 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.009404, allocations: 8.359 kB / 445 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.009865, allocations: 185.2 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.009879, allocations: 7.875 kB / 445.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.009899, allocations: 4 kB / 445.2 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.009908, allocations: 7.938 kB / 445.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.01038, allocations: 111.9 kB / 445.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.01107, allocations: 480.6 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.01179, allocations: 162.5 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.01206, allocations: 72.8 kB / 446 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.01207, allocations: 0 / 446 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004809/0.01255, allocations: 168.9 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.01255, allocations: 0 / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009501/0.01351, allocations: 265.3 kB / 446.4 MB, free: 1.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.01355, allocations: 55.39 kB / 446.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.01383, allocations: 244.1 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.01386, allocations: 29.7 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01397, allocations: 128.4 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.01401, allocations: 39.67 kB / 446.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.01408, allocations: 41.64 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.01425, allocations: 334.8 kB / 447.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.01456, allocations: 101.6 kB / 447.4 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.01487, allocations: 125.9 kB / 447.5 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.01541, allocations: 193.8 kB / 447.7 MB, free: 316 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01541, allocations: 0 / 447.7 MB, free: 316 kB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007093/0.01612, allocations: 288.7 kB / 447.9 MB, free: 8 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1904/0.2065, allocations: 40.02 kB / 448 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2065, allocations: 1.312 kB / 448 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.2065, allocations: 2.281 kB / 448 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.2068, allocations: 32.88 kB / 448 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2068, allocations: 2.094 kB / 448 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.207, allocations: 29.94 kB / 448.1 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.207, allocations: 10.17 kB / 448.1 MB, free: 21.48 MB / 366.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.0001296/0.2071, allocations: 141.4 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.2072, allocations: 24.73 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/0.2079, allocations: 211.1 kB / 448.4 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2079, allocations: 1.953 kB / 448.4 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2079, allocations: 1.188 kB / 448.4 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2079, allocations: 3.234 kB / 448.4 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.208, allocations: 161.6 kB / 448.6 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.208, allocations: 3.75 kB / 448.6 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.2082, allocations: 30.67 kB / 448.6 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2082, allocations: 1.188 kB / 448.6 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2082, allocations: 5.391 kB / 448.6 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2082, allocations: 8.688 kB / 448.6 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2082, allocations: 0.7031 kB / 448.6 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008648/0.2091, allocations: 321.1 kB / 449 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.2091, allocations: 20.95 kB / 449 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.2091, allocations: 9.078 kB / 449 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2093, allocations: 19.98 kB / 449 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.2094, allocations: 17.11 kB / 449 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.2094, allocations: 5.281 kB / 449 MB, free: 21.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.2095, allocations: 176.6 kB / 449.2 MB, free: 21.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2095, allocations: 3.562 kB / 449.2 MB, free: 21.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.2098, allocations: 36.14 kB / 449.2 MB, free: 21.06 MB / 366.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.001547/0.2113, allocations: 437.4 kB / 449.7 MB, free: 20.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000632/0.212, allocations: 245.4 kB / 449.9 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.212, allocations: 3.656 kB / 449.9 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.2123, allocations: 74.92 kB / 450 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2126, allocations: 72.08 kB / 450.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.2132, allocations: 310.4 kB / 450.4 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.136e-05/0.2133, allocations: 116.2 kB / 450.5 MB, free: 20.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.847e-05/0.2134, allocations: 22.55 kB / 450.5 MB, free: 20.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.2135, allocations: 23.42 kB / 450.5 MB, free: 20.53 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2135, allocations: 1.125 kB / 450.5 MB, free: 20.53 MB / 366.1 MB Notification: Performance of Templates: time 0.007468/0.2209, allocations: 3.071 MB / 453.6 MB, free: 20.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.659283548593521] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.2291259579360485 0.24214368500000003 0.231527853 Calling exit ...