Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.001459/0.001459, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.001675/0.001675, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.782/1.782, allocations: 207.6 MB / 231.2 MB, free: 4.102 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.4006/0.4006, allocations: 44.24 MB / 327.3 MB, free: 6.703 MB / 254.1 MB " [Timeout remaining time 179] 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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.002593/0.002593, allocations: 71.91 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3658, allocations: 61 MB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003405/0.3692, allocations: 1.709 MB / 0.5134 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3709, allocations: 0.8212 MB / 0.5142 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3711, allocations: 0 / 0.5142 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.3715, allocations: 43.36 kB / 0.5142 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.3718, allocations: 59.28 kB / 0.5143 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3721, allocations: 83.84 kB / 0.5144 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.3724, allocations: 97.05 kB / 0.5145 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3725, allocations: 16.31 kB / 0.5145 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3726, allocations: 45 kB / 0.5145 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/0.3727, allocations: 33.81 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.3727, allocations: 3.656 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3729, allocations: 39.36 kB / 0.5146 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.373, allocations: 19.61 kB / 0.5146 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.373, allocations: 30.55 kB / 0.5146 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3733, allocations: 123.7 kB / 0.5148 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3733, allocations: 2.156 kB / 0.5148 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3733, allocations: 0 / 0.5148 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3733, allocations: 4 kB / 0.5148 GB, free: 10.79 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.0006006/0.3739, allocations: 420.6 kB / 0.5152 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.374, allocations: 12.77 kB / 0.5152 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.513e-05/0.374, allocations: 1.625 kB / 0.5152 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.374, allocations: 32.16 kB / 0.5152 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.3741, allocations: 8.578 kB / 0.5152 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3743, allocations: 213.1 kB / 0.5154 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3744, allocations: 9.562 kB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3744, allocations: 6.781 kB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3745, allocations: 57.06 kB / 0.5155 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3745, allocations: 5.172 kB / 0.5155 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3746, allocations: 0 / 0.5155 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3746, allocations: 5.781 kB / 0.5155 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.3746, allocations: 21.27 kB / 0.5155 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.375, allocations: 286.8 kB / 0.5158 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3751, allocations: 60.88 kB / 0.5158 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.3752, allocations: 19.62 kB / 0.5159 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3752, allocations: 1.344 kB / 0.5159 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.3754, allocations: 65.23 kB / 0.5159 GB, free: 9.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3754, allocations: 0 / 0.5159 GB, free: 9.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.3759, allocations: 186.8 kB / 0.5161 GB, free: 9.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.3759, allocations: 53.44 kB / 0.5162 GB, free: 9.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3761, allocations: 202.3 kB / 0.5163 GB, free: 9.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3761, allocations: 27.08 kB / 0.5164 GB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.3762, allocations: 104.2 kB / 0.5165 GB, free: 9.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.3762, allocations: 19.92 kB / 0.5165 GB, free: 9.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.3762, allocations: 28.58 kB / 0.5165 GB, free: 9.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.3763, allocations: 327 kB / 0.5168 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.3764, allocations: 26.92 kB / 0.5169 GB, free: 8.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.3764, allocations: 31.47 kB / 0.5169 GB, free: 8.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.3765, allocations: 54.45 kB / 0.5169 GB, free: 8.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3765, allocations: 0 / 0.5169 GB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.3767, allocations: 112.1 kB / 0.517 GB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3767, allocations: 9.531 kB / 0.5171 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3767, allocations: 0 / 0.5171 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3768, allocations: 1.375 kB / 0.5171 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.3769, allocations: 13.75 kB / 0.5171 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3769, allocations: 3.938 kB / 0.5171 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.3769, allocations: 6.734 kB / 0.5171 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3769, allocations: 6.75 kB / 0.5171 GB, free: 8.578 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 9.094e-05/0.377, allocations: 123.4 kB / 0.5172 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.377, allocations: 13.44 kB / 0.5172 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.3771, allocations: 18.91 kB / 0.5172 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3771, allocations: 1.375 kB / 0.5172 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3771, allocations: 3.938 kB / 0.5172 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3771, allocations: 1.375 kB / 0.5172 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.3775, allocations: 393.2 kB / 0.5176 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3775, allocations: 5.312 kB / 0.5176 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.3776, allocations: 10.86 kB / 0.5176 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3776, allocations: 5.5 kB / 0.5176 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3776, allocations: 9.406 kB / 0.5176 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3776, allocations: 5.312 kB / 0.5177 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3776, allocations: 1.375 kB / 0.5177 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.3778, allocations: 200.1 kB / 0.5178 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.3779, allocations: 96.91 kB / 0.5179 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3779, allocations: 5.188 kB / 0.5179 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.3779, allocations: 5.688 kB / 0.5179 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.378, allocations: 8.328 kB / 0.518 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.378, allocations: 7.031 kB / 0.518 GB, free: 7.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3782, allocations: 151.6 kB / 0.5181 GB, free: 7.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3782, allocations: 0 / 0.5181 GB, free: 7.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.3785, allocations: 24.78 kB / 0.5181 GB, free: 7.609 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.002093/0.3805, allocations: 1.096 MB / 0.5192 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.3808, allocations: 67.11 kB / 0.5193 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3808, allocations: 0 / 0.5193 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.3808, allocations: 24.83 kB / 0.5193 GB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3812, allocations: 28.83 kB / 0.5193 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3828, allocations: 1.665 MB / 0.5209 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.3829, allocations: 0.7041 MB / 0.5216 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.543e-05/0.383, allocations: 17.12 kB / 0.5216 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.3831, allocations: 35.42 kB / 0.5217 GB, free: 4.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3831, allocations: 0 / 0.5217 GB, free: 4.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.4022, allocations: 3.491 MB / 0.5251 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.657, allocations: 6.781 kB / 0.5251 GB, free: 0.707 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.06537180003943] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.83999996597413 8.86739731 8.489187833 Calling exit ...