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.006522/0.006522, allocations: 103.8 kB / 21.98 MB, free: 5.211 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.001702/0.001702, allocations: 220.6 kB / 25.29 MB, free: 3.215 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.44/1.44, allocations: 230.5 MB / 258.9 MB, free: 8.023 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.2314/0.2314, allocations: 46.93 MB / 362.3 MB, free: 4.203 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-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.002308/0.002308, allocations: 79.86 kB / 0.4983 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3141, allocations: 66.09 MB / 0.5628 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003707/0.3178, allocations: 2.05 MB / 0.5648 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3198, allocations: 1.145 MB / 0.5659 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3199, allocations: 0 / 0.5659 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.3202, allocations: 51.64 kB / 0.566 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.3205, allocations: 111.4 kB / 0.5661 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.3208, allocations: 119.6 kB / 0.5662 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.3211, allocations: 207.3 kB / 0.5664 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3212, allocations: 25.45 kB / 0.5664 GB, free: 500 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.3214, allocations: 87.69 kB / 0.5665 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3215, allocations: 79.55 kB / 0.5666 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.3215, allocations: 12 kB / 0.5666 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3216, allocations: 59.97 kB / 0.5666 GB, free: 260 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.3217, allocations: 35.84 kB / 0.5667 GB, free: 224 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.3218, allocations: 67.55 kB / 0.5667 GB, free: 156 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.3222, allocations: 206 kB / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3222, allocations: 4 kB / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3222, allocations: 4 kB / 0.5669 GB, free: 15.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3222, allocations: 0 / 0.5669 GB, free: 15.94 MB / 414.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.001035/0.3232, allocations: 496.5 kB / 0.5674 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3233, allocations: 8.031 kB / 0.5674 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.3233, allocations: 20.84 kB / 0.5674 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.3237, allocations: 190.1 kB / 0.5676 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3238, allocations: 8.375 kB / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.3238, allocations: 16.36 kB / 0.5676 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.3242, allocations: 144.5 kB / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3242, allocations: 0 / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.3243, allocations: 12 kB / 0.5678 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3243, allocations: 0 / 0.5678 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3247, allocations: 111.8 kB / 0.5679 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.3254, allocations: 0.5233 MB / 0.5684 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.326, allocations: 158.5 kB / 0.5686 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.3263, allocations: 72.8 kB / 0.5686 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3263, allocations: 0 / 0.5686 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.3267, allocations: 143.2 kB / 0.5688 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.3267, allocations: 0 / 0.5688 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008548/0.3275, allocations: 253.4 kB / 0.569 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.3276, allocations: 55.34 kB / 0.5691 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3278, allocations: 238.2 kB / 0.5693 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3279, allocations: 33.7 kB / 0.5693 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.328, allocations: 132.4 kB / 0.5694 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.328, allocations: 35.69 kB / 0.5695 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.3281, allocations: 37.7 kB / 0.5695 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3282, allocations: 330.8 kB / 0.5698 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.3285, allocations: 63.94 kB / 0.5699 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.3287, allocations: 112.2 kB / 0.57 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.3292, allocations: 189.8 kB / 0.5702 GB, free: 12.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3292, allocations: 0 / 0.5702 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006407/0.3299, allocations: 259.1 kB / 0.5704 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.3299, allocations: 37.69 kB / 0.5705 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3299, allocations: 0 / 0.5705 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3299, allocations: 0 / 0.5705 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.3301, allocations: 39.97 kB / 0.5705 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3301, allocations: 0 / 0.5705 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.3303, allocations: 35.8 kB / 0.5705 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.3303, allocations: 8 kB / 0.5705 GB, free: 11.98 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.0001389/0.3305, allocations: 141.8 kB / 0.5707 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3305, allocations: 15.91 kB / 0.5707 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006062/0.3311, allocations: 206.8 kB / 0.5709 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3311, allocations: 4 kB / 0.5709 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3311, allocations: 3.984 kB / 0.5709 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.3311, allocations: 11.92 kB / 0.5709 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.3313, allocations: 208.5 kB / 0.5711 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3313, allocations: 0 / 0.5711 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.3315, allocations: 27.97 kB / 0.5711 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3315, allocations: 0 / 0.5711 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3315, allocations: 4 kB / 0.5711 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3315, allocations: 3.984 kB / 0.5711 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3315, allocations: 0 / 0.5711 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.3323, allocations: 308.7 kB / 0.5714 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.3324, allocations: 19.83 kB / 0.5715 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.3324, allocations: 7.938 kB / 0.5715 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3326, allocations: 28.03 kB / 0.5715 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.3326, allocations: 19.91 kB / 0.5715 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3327, allocations: 4 kB / 0.5715 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.3328, allocations: 172.5 kB / 0.5717 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3328, allocations: 0 / 0.5717 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3331, allocations: 35.94 kB / 0.5717 GB, free: 10.69 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.001488/0.3346, allocations: 405.8 kB / 0.5721 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.3353, allocations: 218.7 kB / 0.5723 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3353, allocations: 0 / 0.5723 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.3356, allocations: 72.12 kB / 0.5724 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3359, allocations: 50.5 kB / 0.5724 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.3367, allocations: 345.6 kB / 0.5728 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.337, allocations: 0.732 MB / 0.5735 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.3371, allocations: 19.44 kB / 0.5735 GB, free: 8.941 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3371, allocations: 0 / 0.5735 GB, free: 8.941 MB / 414.1 MB Notification: Performance of Templates: time 0.00548/0.3426, allocations: 2.865 MB / 0.5763 GB, free: 6.086 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 -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: 8.035341748036444] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.3513644051272422 0.36516259799999995 0.039917975 Calling exit ...