Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001291/0.001291, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001408/0.001408, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2488/0.2488, allocations: 46.94 MB / 361.7 MB, free: 4.289 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+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.91 kB / 0.497 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 66.03 MB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003076/0.3357, allocations: 1.737 MB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3375, allocations: 1.049 MB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.3376, allocations: 0 / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.3379, allocations: 87.67 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.3383, allocations: 115.5 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.3385, allocations: 87.61 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.3388, allocations: 119.7 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.3388, allocations: 5.828 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.339, allocations: 63.7 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3391, allocations: 63.8 kB / 0.5647 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3391, allocations: 4 kB / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3392, allocations: 43.98 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.3393, allocations: 23.86 kB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.3394, allocations: 47.66 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.3396, allocations: 115.5 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3396, allocations: 4 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3396, allocations: 0 / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3396, allocations: 0 / 0.565 GB, free: 0.8789 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005859/0.3402, allocations: 361.5 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3402, allocations: 8.031 kB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.58e-05/0.3403, allocations: 192 / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.3403, allocations: 30.75 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3403, allocations: 16.84 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3407, allocations: 170.7 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3407, allocations: 4.125 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3407, allocations: 4 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3409, allocations: 53.67 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3409, allocations: 0 / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3409, allocations: 0 / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3409, allocations: 4 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/0.341, allocations: 15.98 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.3415, allocations: 275.9 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3417, allocations: 54.67 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.3417, allocations: 12.86 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.3417, allocations: 11.97 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.3419, allocations: 71.33 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3419, allocations: 0 / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006129/0.3425, allocations: 177.4 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.3426, allocations: 59.33 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.3428, allocations: 219.5 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3429, allocations: 29.7 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.3429, allocations: 104.1 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.343, allocations: 31.72 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.343, allocations: 25.72 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3432, allocations: 326.8 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.3433, allocations: 19.98 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.3433, allocations: 41.64 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3435, allocations: 61.62 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3435, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001925/0.3436, allocations: 105.6 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3437, allocations: 4 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3437, allocations: 4 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3437, allocations: 0 / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.3438, allocations: 19.92 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.3438, allocations: 3.938 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.3438, allocations: 4 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3438, allocations: 4 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001215/0.344, allocations: 133.8 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.344, allocations: 15.91 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.3442, allocations: 119.1 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3443, allocations: 4 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3443, allocations: 3.938 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3443, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.3448, allocations: 366.4 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3448, allocations: 8.031 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.3448, allocations: 4 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3448, allocations: 7.938 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.3448, allocations: 0 / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3448, allocations: 0 / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3448, allocations: 4 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.3451, allocations: 204.3 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.3451, allocations: 19.88 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3451, allocations: 7.938 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.3452, allocations: 4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3453, allocations: 4.359 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3453, allocations: 7.938 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.3454, allocations: 169.1 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3454, allocations: 0 / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3457, allocations: 35.88 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002274/0.348, allocations: 1.092 MB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3482, allocations: 59.97 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3482, allocations: 0 / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.439e-05/0.3483, allocations: 24.08 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.3487, allocations: 37.56 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3508, allocations: 1.719 MB / 0.5711 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3512, allocations: 0.7119 MB / 0.5718 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.3513, allocations: 8.984 kB / 0.5718 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.3513, allocations: 43.41 kB / 0.5719 GB, free: 9.539 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3513, allocations: 4 kB / 0.5719 GB, free: 9.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.3749, allocations: 3.767 MB / 0.5755 GB, free: 5.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 15.75 kB / 0.5756 GB, free: 5.844 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.73563502804609] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.90305843600072 11.918331525 11.575587427 Calling exit ...