Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001575/0.001575, allocations: 120.2 kB / 17.83 MB, free: 5.242 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.001672/0.001672, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 207.6 MB / 231.2 MB, free: 4.109 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3508/0.3508, allocations: 44.24 MB / 327.3 MB, free: 6.719 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 67.91 kB / 463 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3647, allocations: 61 MB / 0.5117 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004429/0.3691, allocations: 1.701 MB / 0.5134 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3706, allocations: 0.8201 MB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3707, allocations: 1.281 kB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.3712, allocations: 106.9 kB / 0.5143 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.3715, allocations: 82.47 kB / 0.5144 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.3719, allocations: 97.25 kB / 0.5144 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.3722, allocations: 114.4 kB / 0.5146 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3723, allocations: 12.55 kB / 0.5146 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.3724, allocations: 60.41 kB / 0.5146 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.3726, allocations: 64.62 kB / 0.5147 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3726, allocations: 3.625 kB / 0.5147 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.3728, allocations: 43.17 kB / 0.5147 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.3728, allocations: 24.91 kB / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.3729, allocations: 40.12 kB / 0.5148 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.3732, allocations: 124.4 kB / 0.5149 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3732, allocations: 0 / 0.5149 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3732, allocations: 0 / 0.5149 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3732, allocations: 0 / 0.5149 GB, free: 10.77 MB / 382.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.0006404/0.3738, allocations: 441.2 kB / 0.5153 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3739, allocations: 13.2 kB / 0.5153 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.597e-05/0.3739, allocations: 1.625 kB / 0.5153 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.3739, allocations: 36.09 kB / 0.5154 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.374, allocations: 14.75 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.3743, allocations: 221.6 kB / 0.5156 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3743, allocations: 13.22 kB / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3743, allocations: 2.562 kB / 0.5156 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3745, allocations: 53.86 kB / 0.5157 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3745, allocations: 1.25 kB / 0.5157 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3745, allocations: 0 / 0.5157 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3745, allocations: 1.188 kB / 0.5157 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.3746, allocations: 17.55 kB / 0.5157 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.375, allocations: 297.9 kB / 0.516 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3752, allocations: 56.75 kB / 0.516 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.3753, allocations: 24.09 kB / 0.5161 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3753, allocations: 1.844 kB / 0.5161 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.3755, allocations: 68.17 kB / 0.5161 GB, free: 9.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3755, allocations: 1.75 kB / 0.5161 GB, free: 9.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005804/0.3761, allocations: 185.8 kB / 0.5163 GB, free: 9.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.3761, allocations: 52.78 kB / 0.5164 GB, free: 9.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3763, allocations: 242.2 kB / 0.5166 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3763, allocations: 27.08 kB / 0.5166 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.3764, allocations: 109.6 kB / 0.5167 GB, free: 9.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.3764, allocations: 27.91 kB / 0.5167 GB, free: 9.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.3764, allocations: 24.59 kB / 0.5168 GB, free: 8.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.3765, allocations: 330.9 kB / 0.5171 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.3766, allocations: 22.92 kB / 0.5171 GB, free: 8.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.3766, allocations: 35.45 kB / 0.5171 GB, free: 8.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3768, allocations: 63.89 kB / 0.5172 GB, free: 8.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3768, allocations: 4 kB / 0.5172 GB, free: 8.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002356/0.377, allocations: 108.1 kB / 0.5173 GB, free: 8.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.377, allocations: 5.5 kB / 0.5173 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.377, allocations: 1.375 kB / 0.5173 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.377, allocations: 0 / 0.5173 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3772, allocations: 17.73 kB / 0.5173 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3772, allocations: 5.312 kB / 0.5173 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.3772, allocations: 1.375 kB / 0.5173 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3773, allocations: 6.688 kB / 0.5173 GB, free: 8.5 MB / 382.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.0001138/0.3774, allocations: 135.6 kB / 0.5175 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.3774, allocations: 14.78 kB / 0.5175 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.3775, allocations: 20.27 kB / 0.5175 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3775, allocations: 1.375 kB / 0.5175 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3775, allocations: 3.938 kB / 0.5175 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3775, allocations: 0 / 0.5175 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.3779, allocations: 398.5 kB / 0.5179 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3779, allocations: 32 / 0.5179 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.3779, allocations: 12.41 kB / 0.5179 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3779, allocations: 5.938 kB / 0.5179 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3779, allocations: 0 / 0.5179 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.3779, allocations: 5.906 kB / 0.5179 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3779, allocations: 192 / 0.5179 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3781, allocations: 210 kB / 0.5181 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.3782, allocations: 103.7 kB / 0.5182 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.3782, allocations: 1.875 kB / 0.5182 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.3783, allocations: 6.016 kB / 0.5182 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3783, allocations: 11.61 kB / 0.5182 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3783, allocations: 3.844 kB / 0.5182 GB, free: 7.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.3784, allocations: 181.5 kB / 0.5184 GB, free: 7.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3784, allocations: 3.938 kB / 0.5184 GB, free: 7.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3787, allocations: 20.75 kB / 0.5184 GB, free: 7.516 MB / 382.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.001939/0.3806, allocations: 1.113 MB / 0.5195 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.3808, allocations: 51.92 kB / 0.5196 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3808, allocations: 0 / 0.5196 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.935e-05/0.3809, allocations: 28.12 kB / 0.5196 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3813, allocations: 24.2 kB / 0.5196 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.3828, allocations: 1.775 MB / 0.5213 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.383, allocations: 0.7157 MB / 0.522 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.383, allocations: 17.17 kB / 0.5221 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.3831, allocations: 43.36 kB / 0.5221 GB, free: 3.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3831, allocations: 7.938 kB / 0.5221 GB, free: 3.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.4027, allocations: 3.662 MB / 0.5257 GB, free: 108 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.6/9.003, allocations: 14.77 kB / 0.5257 GB, free: 96 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.027779612981249] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.187754657003097 9.212918084 8.835666323 Calling exit ...