Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.001238/0.001238, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001357/0.001357, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.407/1.407, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.94 MB / 361.6 MB, free: 3.957 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.88 kB / 0.497 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3091, allocations: 66.08 MB / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003794/0.3128, allocations: 2.232 MB / 0.5637 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.3152, allocations: 1.348 MB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.3154, allocations: 7.938 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.316, allocations: 283 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007127/0.3167, allocations: 346.6 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.3171, allocations: 227.5 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.3178, allocations: 0.5646 MB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3179, allocations: 39.08 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.3182, allocations: 239.1 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.3186, allocations: 298.8 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.3186, allocations: 20 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3187, allocations: 59.97 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3189, allocations: 123.5 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.319, allocations: 139 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.3195, allocations: 437.8 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3195, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3195, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3195, allocations: 0 / 0.5677 GB, free: 13.72 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001126/0.3206, allocations: 0.7456 MB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3207, allocations: 8.031 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.289e-05/0.3207, allocations: 8.188 kB / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.3207, allocations: 46.73 kB / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.3208, allocations: 60.56 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.3214, allocations: 353 kB / 0.5688 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.3214, allocations: 12.38 kB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.3214, allocations: 12.38 kB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.3218, allocations: 221.7 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3218, allocations: 4 kB / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3219, allocations: 0 / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3219, allocations: 4 kB / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.3221, allocations: 107.9 kB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.3231, allocations: 0.8206 MB / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/0.3237, allocations: 289.2 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.3239, allocations: 96.19 kB / 0.5704 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.324, allocations: 8 kB / 0.5704 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.3244, allocations: 239.5 kB / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.3244, allocations: 0 / 0.5706 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002187/0.3266, allocations: 1.068 MB / 0.5716 GB, free: 9.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.3267, allocations: 166.2 kB / 0.5718 GB, free: 9.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007733/0.3275, allocations: 0.6748 MB / 0.5725 GB, free: 8.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.3275, allocations: 37.7 kB / 0.5725 GB, free: 8.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3277, allocations: 241 kB / 0.5727 GB, free: 8.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3278, allocations: 134.9 kB / 0.5729 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3279, allocations: 74.12 kB / 0.5729 GB, free: 8.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3281, allocations: 374.8 kB / 0.5733 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.3283, allocations: 104.8 kB / 0.5734 GB, free: 7.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.3286, allocations: 188.9 kB / 0.5736 GB, free: 7.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.3292, allocations: 314.3 kB / 0.5739 GB, free: 6.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3292, allocations: 0 / 0.5739 GB, free: 6.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007557/0.3299, allocations: 416.9 kB / 0.5743 GB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3299, allocations: 11.98 kB / 0.5743 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3299, allocations: 0 / 0.5743 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3299, allocations: 8.156 kB / 0.5743 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.3302, allocations: 83.91 kB / 0.5744 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3303, allocations: 11.92 kB / 0.5744 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3305, allocations: 19.98 kB / 0.5744 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.3305, allocations: 19.98 kB / 0.5744 GB, free: 6.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002151/0.3307, allocations: 201.6 kB / 0.5746 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.3308, allocations: 71.5 kB / 0.5747 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.3318, allocations: 0.4901 MB / 0.5751 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.3318, allocations: 8 kB / 0.5752 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3318, allocations: 0 / 0.5752 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3318, allocations: 7.984 kB / 0.5752 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.3336, allocations: 1.264 MB / 0.5764 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.3336, allocations: 12.09 kB / 0.5764 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.3337, allocations: 59.92 kB / 0.5765 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3338, allocations: 4 kB / 0.5765 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.3338, allocations: 15.98 kB / 0.5765 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.3338, allocations: 7.938 kB / 0.5765 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3338, allocations: 0 / 0.5765 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3348, allocations: 0.8634 MB / 0.5773 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.3349, allocations: 59.56 kB / 0.5774 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.335, allocations: 15.98 kB / 0.5774 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.3353, allocations: 27.92 kB / 0.5774 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.3354, allocations: 39.88 kB / 0.5775 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.3354, allocations: 20 kB / 0.5775 GB, free: 3.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005488/0.336, allocations: 0.4949 MB / 0.578 GB, free: 2.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.336, allocations: 0 / 0.578 GB, free: 2.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.3365, allocations: 91.92 kB / 0.5781 GB, free: 2.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003112/0.3396, allocations: 1.809 MB / 0.5798 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006435/0.3403, allocations: 303.8 kB / 0.5801 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3403, allocations: 0 / 0.5801 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.3406, allocations: 151.7 kB / 0.5803 GB, free: 460 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3416, allocations: 137.1 kB / 0.5804 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/0.3478, allocations: 4.601 MB / 0.5849 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3481, allocations: 264 kB / 0.5851 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.3483, allocations: 83.38 kB / 0.5852 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.3486, allocations: 195.4 kB / 0.5854 GB, free: 10.96 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3486, allocations: 0 / 0.5854 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.3833, allocations: 11.92 MB / 0.597 GB, free: 15.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 6.594 kB / 0.597 GB, free: 15.13 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.636205840972252] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 11.994104792014696 12.01778811 11.693770165 Calling exit ...