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.00186/0.00186, allocations: 103.6 kB / 21.19 MB, free: 0.6562 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.002332/0.002332, allocations: 207.6 kB / 24.48 MB, free: 3.961 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.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.965 MB / 206.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.229/0.229, allocations: 44.93 MB / 359.6 MB, free: 6.168 MB / 286.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 63.91 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3436, allocations: 65.46 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003608/0.3472, allocations: 1.98 MB / 0.5602 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3495, allocations: 1.06 MB / 0.5612 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.3496, allocations: 0 / 0.5612 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.3499, allocations: 55.62 kB / 0.5613 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.3503, allocations: 115.4 kB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.3505, allocations: 115.6 kB / 0.5615 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.3508, allocations: 203.3 kB / 0.5617 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.351, allocations: 25.45 kB / 0.5617 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3511, allocations: 83.69 kB / 0.5618 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3513, allocations: 71.62 kB / 0.5619 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.3513, allocations: 12 kB / 0.5619 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3514, allocations: 55.97 kB / 0.5619 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.3515, allocations: 39.78 kB / 0.562 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.3516, allocations: 67.59 kB / 0.562 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3519, allocations: 198 kB / 0.5622 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3519, allocations: 0 / 0.5622 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3519, allocations: 0 / 0.5622 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3519, allocations: 0 / 0.5622 GB, free: 3.402 MB / 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.001003/0.3529, allocations: 0.5042 MB / 0.5627 GB, free: 2.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.353, allocations: 8.031 kB / 0.5627 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.353, allocations: 20.84 kB / 0.5627 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.3534, allocations: 190.1 kB / 0.5629 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3534, allocations: 4.375 kB / 0.5629 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.3534, allocations: 16.12 kB / 0.5629 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.3539, allocations: 177.8 kB / 0.5631 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3539, allocations: 0 / 0.5631 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3539, allocations: 3.984 kB / 0.5631 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3539, allocations: 0 / 0.5631 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.3543, allocations: 119.8 kB / 0.5632 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.355, allocations: 476.6 kB / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.3557, allocations: 166.5 kB / 0.5638 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.356, allocations: 68.8 kB / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.356, allocations: 0 / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.3564, allocations: 164.9 kB / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3564, allocations: 0 / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009125/0.3573, allocations: 265.3 kB / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.3574, allocations: 51.41 kB / 0.5644 GB, free: 1.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.3576, allocations: 248 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3577, allocations: 25.7 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3578, allocations: 136.4 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.3578, allocations: 43.67 kB / 0.5648 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.3579, allocations: 33.72 kB / 0.5648 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.358, allocations: 330.8 kB / 0.5651 GB, free: 192 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.3583, allocations: 93.64 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.3587, allocations: 137.9 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.3592, allocations: 193.8 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3592, allocations: 4 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007179/0.3599, allocations: 292.3 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.36, allocations: 37.69 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.36, allocations: 0 / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.36, allocations: 4 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3602, allocations: 43.89 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3602, allocations: 3.938 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.3604, allocations: 39.92 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.3604, allocations: 8 kB / 0.566 GB, free: 15.27 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.0001507/0.3605, allocations: 141.7 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3606, allocations: 15.91 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006563/0.3612, allocations: 218.9 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3612, allocations: 4 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3613, allocations: 3.938 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3613, allocations: 0 / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.3615, allocations: 165.2 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3615, allocations: 0 / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3616, allocations: 27.91 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3616, allocations: 0 / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.3616, allocations: 8 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3616, allocations: 0 / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3616, allocations: 0 / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.3625, allocations: 312.8 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.3626, allocations: 23.88 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3626, allocations: 4 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3628, allocations: 24.03 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.3628, allocations: 15.97 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.3629, allocations: 7.938 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.363, allocations: 177.8 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 0 / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3633, allocations: 39.88 kB / 0.5671 GB, free: 14.04 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.001645/0.3649, allocations: 447.3 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006716/0.3656, allocations: 244.9 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3656, allocations: 0 / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.3659, allocations: 79.88 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3662, allocations: 44.7 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007358/0.367, allocations: 357.5 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3671, allocations: 116.1 kB / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.3671, allocations: 19.42 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3671, allocations: 0 / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Templates: time 0.005543/0.3727, allocations: 2.919 MB / 0.5712 GB, free: 9.965 MB / 414.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: 8.240375190973282] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.3819377915933728 0.39721809900000005 0.042122780000000005 Calling exit ...