Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00174/0.00174, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.002192/0.002192, allocations: 212.3 kB / 24.51 MB, free: 3.918 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.2646/0.2646, allocations: 46.96 MB / 361.7 MB, free: 4.012 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.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.91 kB / 0.4969 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.396, allocations: 66.03 MB / 0.5614 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003236/0.3992, allocations: 1.792 MB / 0.5632 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.402, allocations: 1.724 MB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.4021, allocations: 8 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.4024, allocations: 51.62 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.4029, allocations: 147.3 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.4032, allocations: 103.6 kB / 0.5651 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.4035, allocations: 215.3 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.4035, allocations: 5.812 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.4037, allocations: 83.62 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.4039, allocations: 82.56 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.4039, allocations: 8 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.4041, allocations: 119.8 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.532e-05/0.4042, allocations: 39.78 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.4043, allocations: 51.67 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.4047, allocations: 224.9 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4047, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4047, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4047, allocations: 0 / 0.5659 GB, free: 15.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000707/0.4054, allocations: 436.8 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4054, allocations: 8.031 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.225e-05/0.4055, allocations: 192 / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.4055, allocations: 42.73 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.4056, allocations: 16.84 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.4059, allocations: 190.2 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4059, allocations: 4.125 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.406, allocations: 4 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.4062, allocations: 164.4 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4062, allocations: 0 / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.4063, allocations: 3.984 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4063, allocations: 4 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.4064, allocations: 35.92 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.4066, allocations: 181.7 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.4069, allocations: 109.1 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.407, allocations: 37.7 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.4071, allocations: 3.938 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.4073, allocations: 113 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.4073, allocations: 8 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005031/0.4078, allocations: 173.4 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.408, allocations: 136.5 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.4083, allocations: 240.1 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4083, allocations: 33.7 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.4084, allocations: 116.1 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.4085, allocations: 31.73 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.4085, allocations: 25.72 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4087, allocations: 334.8 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.4088, allocations: 35.92 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.4089, allocations: 132.5 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.4091, allocations: 103.3 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4091, allocations: 0 / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002985/0.4094, allocations: 137.5 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4094, allocations: 4 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4094, allocations: 7.984 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4095, allocations: 4.094 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4096, allocations: 23.94 kB / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4096, allocations: 0 / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.4097, allocations: 15.94 kB / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4097, allocations: 4 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001354/0.4098, allocations: 138.3 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.4099, allocations: 15.91 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.4102, allocations: 162.7 kB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.4103, allocations: 4 kB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.4103, allocations: 4 kB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4103, allocations: 0 / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.4105, allocations: 192.8 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4105, allocations: 8 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.4105, allocations: 11.94 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4105, allocations: 3.984 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4105, allocations: 8 kB / 0.5692 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4105, allocations: 0 / 0.5692 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4105, allocations: 0 / 0.5692 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.4109, allocations: 185.7 kB / 0.5694 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.4109, allocations: 27.86 kB / 0.5694 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.411, allocations: 0 / 0.5694 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.411, allocations: 11.98 kB / 0.5695 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.4111, allocations: 11.92 kB / 0.5695 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4111, allocations: 4 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.4113, allocations: 189.8 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4113, allocations: 0 / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.4116, allocations: 55.81 kB / 0.5697 GB, free: 11.27 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.002495/0.4141, allocations: 1.14 MB / 0.5708 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.4144, allocations: 91.89 kB / 0.5709 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4144, allocations: 0 / 0.5709 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4145, allocations: 47.84 kB / 0.571 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.415, allocations: 66.92 kB / 0.571 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.4175, allocations: 1.916 MB / 0.5729 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.4176, allocations: 111.6 kB / 0.573 GB, free: 7.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.4177, allocations: 33.45 kB / 0.573 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.4178, allocations: 59.41 kB / 0.5731 GB, free: 7.887 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4178, allocations: 4 kB / 0.5731 GB, free: 7.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.4572, allocations: 5.853 MB / 0.5788 GB, free: 2.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.92, allocations: 4.062 kB / 0.5788 GB, free: 2.109 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.177037143963389] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 12.175273168017156 12.199532227 11.790175929 Calling exit ...