Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.001741/0.001741, allocations: 122.2 kB / 17.84 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.002099/0.002099, allocations: 199.8 kB / 20.79 MB, free: 2.305 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.811/1.811, allocations: 207.6 MB / 231.2 MB, free: 4.137 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.5021/0.5021, allocations: 44.23 MB / 327.3 MB, free: 6.723 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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.002541/0.002541, allocations: 75.91 kB / 463 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.349, allocations: 61 MB / 0.5117 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00319/0.3522, allocations: 2.013 MB / 0.5137 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3535, allocations: 0.9066 MB / 0.5146 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.3537, allocations: 5.719 kB / 0.5146 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.354, allocations: 52.88 kB / 0.5146 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.3542, allocations: 75.42 kB / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.3545, allocations: 119.9 kB / 0.5148 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.3548, allocations: 197.4 kB / 0.515 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3549, allocations: 30.42 kB / 0.515 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.355, allocations: 83.2 kB / 0.5151 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3551, allocations: 80.86 kB / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.3552, allocations: 12.03 kB / 0.5152 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3553, allocations: 50.3 kB / 0.5152 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.3553, allocations: 33.03 kB / 0.5153 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.3554, allocations: 79.64 kB / 0.5153 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3557, allocations: 184.7 kB / 0.5155 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3557, allocations: 0 / 0.5155 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3557, allocations: 5.062 kB / 0.5155 GB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3557, allocations: 3.984 kB / 0.5155 GB, free: 10.3 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008208/0.3565, allocations: 0.5705 MB / 0.5161 GB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3565, allocations: 12.52 kB / 0.5161 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.32e-05/0.3565, allocations: 3.438 kB / 0.5161 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.521e-05/0.3566, allocations: 37.38 kB / 0.5161 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.3566, allocations: 21.56 kB / 0.5161 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3569, allocations: 252.2 kB / 0.5164 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3569, allocations: 12 kB / 0.5164 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3569, allocations: 5.719 kB / 0.5164 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.3573, allocations: 152.4 kB / 0.5166 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3573, allocations: 5.406 kB / 0.5166 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.3574, allocations: 9.391 kB / 0.5166 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3574, allocations: 5.469 kB / 0.5166 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.3578, allocations: 103 kB / 0.5167 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.3583, allocations: 0.5499 MB / 0.5172 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/0.359, allocations: 156.8 kB / 0.5174 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.3592, allocations: 67.17 kB / 0.5174 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.3593, allocations: 1.375 kB / 0.5174 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.3596, allocations: 149.9 kB / 0.5176 GB, free: 8.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.3596, allocations: 0 / 0.5176 GB, free: 8.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008668/0.3605, allocations: 261.1 kB / 0.5178 GB, free: 8.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3605, allocations: 52.78 kB / 0.5179 GB, free: 8.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3607, allocations: 226.4 kB / 0.5181 GB, free: 8.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3607, allocations: 28.2 kB / 0.5181 GB, free: 8.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.3608, allocations: 125.2 kB / 0.5182 GB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3608, allocations: 44.91 kB / 0.5183 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.3609, allocations: 30.12 kB / 0.5183 GB, free: 7.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.665e-05/0.361, allocations: 334.5 kB / 0.5186 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.3612, allocations: 73.28 kB / 0.5187 GB, free: 7.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.3615, allocations: 102.9 kB / 0.5188 GB, free: 7.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.3619, allocations: 191.7 kB / 0.519 GB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3619, allocations: 0 / 0.519 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005802/0.3625, allocations: 259 kB / 0.5192 GB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.3625, allocations: 37.7 kB / 0.5192 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3625, allocations: 3.984 kB / 0.5193 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3625, allocations: 7.938 kB / 0.5193 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.3627, allocations: 35.91 kB / 0.5193 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3627, allocations: 0 / 0.5193 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3629, allocations: 39.95 kB / 0.5193 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3629, allocations: 4 kB / 0.5193 GB, free: 6.805 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.942e-05/0.363, allocations: 125.8 kB / 0.5195 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.363, allocations: 15.91 kB / 0.5195 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.3631, allocations: 29.27 kB / 0.5195 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3631, allocations: 4 kB / 0.5195 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3631, allocations: 0 / 0.5195 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3631, allocations: 0 / 0.5195 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3632, allocations: 233.5 kB / 0.5197 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3632, allocations: 4 kB / 0.5197 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3634, allocations: 27.97 kB / 0.5198 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3634, allocations: 0 / 0.5198 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3634, allocations: 3.938 kB / 0.5198 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3634, allocations: 4 kB / 0.5198 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3634, allocations: 3.938 kB / 0.5198 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.3641, allocations: 300.8 kB / 0.5201 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.3642, allocations: 101 kB / 0.5202 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3642, allocations: 11.86 kB / 0.5202 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3644, allocations: 19.97 kB / 0.5202 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.3644, allocations: 20.05 kB / 0.5202 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3645, allocations: 8 kB / 0.5202 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.882e-05/0.3646, allocations: 164.6 kB / 0.5204 GB, free: 5.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3646, allocations: 0 / 0.5204 GB, free: 5.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3648, allocations: 39.95 kB / 0.5204 GB, free: 5.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002221/0.367, allocations: 1.149 MB / 0.5215 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.3676, allocations: 219.2 kB / 0.5217 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3676, allocations: 0 / 0.5217 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.3678, allocations: 71.94 kB / 0.5218 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3682, allocations: 39.97 kB / 0.5218 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.3709, allocations: 2.167 MB / 0.524 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.371, allocations: 0.728 MB / 0.5247 GB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.936e-05/0.3711, allocations: 25.53 kB / 0.5247 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.3712, allocations: 51.41 kB / 0.5247 GB, free: 1.031 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3712, allocations: 0 / 0.5247 GB, free: 1.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.3927, allocations: 5 MB / 0.5296 GB, free: 11.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/8.817, allocations: 17.64 kB / 0.5296 GB, free: 11.95 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.334649530996103] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 9.031282295996789 9.044647009 8.686157909 Calling exit ...