Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001952/0.001952, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002509/0.002509, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.479/1.479, allocations: 230.2 MB / 257.8 MB, free: 8.477 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2457/0.2457, allocations: 46.89 MB / 361.1 MB, free: 4.609 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 79.88 kB / 0.4968 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3468, allocations: 65.99 MB / 0.5613 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004262/0.3511, allocations: 2.061 MB / 0.5633 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3533, allocations: 1.127 MB / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.3534, allocations: 7.938 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.3537, allocations: 51.69 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.3541, allocations: 115.4 kB / 0.5645 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3544, allocations: 107.6 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.3547, allocations: 207.4 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3548, allocations: 24.34 kB / 0.5649 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.355, allocations: 83.64 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3551, allocations: 79.59 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.3552, allocations: 12 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3553, allocations: 59.92 kB / 0.5651 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.3554, allocations: 35.84 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3555, allocations: 75.53 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.3558, allocations: 199.1 kB / 0.5654 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3558, allocations: 7.938 kB / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3559, allocations: 0 / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3559, allocations: 0 / 0.5654 GB, free: 0.7188 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.001111/0.357, allocations: 0.5679 MB / 0.566 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.357, allocations: 8.031 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.3571, allocations: 16.84 kB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.3575, allocations: 255.9 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3575, allocations: 8.375 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.3575, allocations: 8.375 kB / 0.5662 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.358, allocations: 154.3 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.358, allocations: 0 / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.358, allocations: 8 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3581, allocations: 0 / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.3585, allocations: 123.8 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.3593, allocations: 0.5399 MB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.36, allocations: 158.6 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.3602, allocations: 68.8 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3603, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/0.3607, allocations: 147.2 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.3607, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000973/0.3617, allocations: 257.7 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3617, allocations: 51.41 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.362, allocations: 240.8 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3621, allocations: 29.7 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3622, allocations: 124.4 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.3622, allocations: 35.83 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.3623, allocations: 41.64 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.3625, allocations: 334.8 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.3628, allocations: 71.94 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.3631, allocations: 100.2 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/0.3637, allocations: 189.8 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3637, allocations: 0 / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007183/0.3644, allocations: 263 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.3644, allocations: 33.7 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3644, allocations: 0 / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.3645, allocations: 4 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3646, allocations: 40.08 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3647, allocations: 4 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.3648, allocations: 39.8 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3649, allocations: 4 kB / 0.5692 GB, free: 12.54 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.0001488/0.365, allocations: 133.8 kB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.3651, allocations: 15.91 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007374/0.3658, allocations: 214.9 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3658, allocations: 7.938 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3658, allocations: 0 / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3658, allocations: 3.938 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3661, allocations: 245.4 kB / 0.5698 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3661, allocations: 0 / 0.5698 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3663, allocations: 23.97 kB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3663, allocations: 7.984 kB / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3663, allocations: 4 kB / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3663, allocations: 0 / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3663, allocations: 0 / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.3672, allocations: 304.7 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.3673, allocations: 104.9 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3673, allocations: 4 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3675, allocations: 23.91 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3675, allocations: 15.92 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.3676, allocations: 11.98 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.3677, allocations: 169.6 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3677, allocations: 4.062 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.368, allocations: 39.92 kB / 0.5704 GB, free: 11.13 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.001551/0.3696, allocations: 403 kB / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006801/0.3702, allocations: 215.3 kB / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3702, allocations: 0 / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.3706, allocations: 75.88 kB / 0.5711 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.3709, allocations: 44.17 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007569/0.3717, allocations: 327.7 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3721, allocations: 0.7359 MB / 0.5722 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.3722, allocations: 21.53 kB / 0.5722 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.3722, allocations: 27.42 kB / 0.5722 GB, free: 9.379 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3722, allocations: 0 / 0.5722 GB, free: 9.379 MB / 414.1 MB Notification: Performance of Templates: time 0.007132/0.3794, allocations: 2.898 MB / 0.5751 GB, free: 6.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.281647989992052] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.388266006950289 0.402332718 0.043356586 Calling exit ...