Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.001899/0.001899, 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.002485/0.002485, 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.807/1.807, allocations: 207.6 MB / 231.2 MB, free: 4.125 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.4326/0.4326, allocations: 44.23 MB / 327.3 MB, free: 6.711 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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.002653/0.002653, allocations: 75.89 kB / 463 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3544, allocations: 61 MB / 0.5117 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002899/0.3573, allocations: 1.705 MB / 0.5134 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3585, allocations: 0.8186 MB / 0.5142 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.3585, allocations: 5.375 kB / 0.5142 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.3589, allocations: 42.88 kB / 0.5142 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.3591, allocations: 52.55 kB / 0.5143 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.3593, allocations: 90.55 kB / 0.5144 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3595, allocations: 92.69 kB / 0.5144 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3596, allocations: 16.36 kB / 0.5145 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.3597, allocations: 42.27 kB / 0.5145 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.3598, allocations: 32.78 kB / 0.5145 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3598, allocations: 7.188 kB / 0.5145 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.3599, allocations: 39.2 kB / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.36, allocations: 22.73 kB / 0.5146 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.36, allocations: 34.66 kB / 0.5146 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.3602, allocations: 119.5 kB / 0.5147 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3602, allocations: 0 / 0.5147 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3602, allocations: 0 / 0.5147 GB, free: 10.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3602, allocations: 0 / 0.5147 GB, free: 10.99 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.0004586/0.3607, allocations: 411.5 kB / 0.5151 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3607, allocations: 17.48 kB / 0.5152 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.745e-05/0.3608, allocations: 1.562 kB / 0.5152 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.3608, allocations: 40.11 kB / 0.5152 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3608, allocations: 12.97 kB / 0.5152 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.3611, allocations: 207 kB / 0.5154 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3611, allocations: 10.81 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.3611, allocations: 1.312 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3613, allocations: 54.02 kB / 0.5155 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3613, allocations: 1.594 kB / 0.5155 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.3613, allocations: 4 kB / 0.5155 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3613, allocations: 3.938 kB / 0.5155 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.3614, allocations: 22.98 kB / 0.5155 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.3617, allocations: 281.4 kB / 0.5158 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.3619, allocations: 49.16 kB / 0.5158 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.3619, allocations: 24.34 kB / 0.5158 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.362, allocations: 5.094 kB / 0.5158 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.3621, allocations: 72.95 kB / 0.5159 GB, free: 9.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3621, allocations: 0 / 0.5159 GB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005248/0.3626, allocations: 177.2 kB / 0.5161 GB, free: 9.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.3627, allocations: 53.62 kB / 0.5161 GB, free: 9.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3628, allocations: 193.3 kB / 0.5163 GB, free: 9.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.3628, allocations: 26.98 kB / 0.5163 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.3629, allocations: 100.8 kB / 0.5164 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.3629, allocations: 20.36 kB / 0.5165 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.3629, allocations: 23.92 kB / 0.5165 GB, free: 9.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.363, allocations: 326.6 kB / 0.5168 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.363, allocations: 15.16 kB / 0.5168 GB, free: 8.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.3631, allocations: 39.05 kB / 0.5168 GB, free: 8.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3632, allocations: 68.73 kB / 0.5169 GB, free: 8.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3632, allocations: 7.938 kB / 0.5169 GB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001655/0.3633, allocations: 102.5 kB / 0.517 GB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3634, allocations: 5.5 kB / 0.517 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3634, allocations: 0 / 0.517 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3634, allocations: 1.281 kB / 0.517 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.3635, allocations: 25.55 kB / 0.517 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3635, allocations: 5.625 kB / 0.5171 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.3635, allocations: 1.562 kB / 0.5171 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3635, allocations: 2.875 kB / 0.5171 GB, free: 8.797 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 7.175e-05/0.3636, allocations: 126.7 kB / 0.5172 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.3636, allocations: 9.641 kB / 0.5172 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3637, allocations: 16.67 kB / 0.5172 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3637, allocations: 2 kB / 0.5172 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3637, allocations: 3.938 kB / 0.5172 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3637, allocations: 7.938 kB / 0.5172 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.364, allocations: 389.2 kB / 0.5176 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.364, allocations: 1.562 kB / 0.5176 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.364, allocations: 15.19 kB / 0.5176 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3641, allocations: 5.188 kB / 0.5176 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3641, allocations: 9.391 kB / 0.5176 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3641, allocations: 1.281 kB / 0.5176 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.3641, allocations: 0 / 0.5176 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.3642, allocations: 200.2 kB / 0.5178 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.3643, allocations: 97.06 kB / 0.5179 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3643, allocations: 1.375 kB / 0.5179 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.3644, allocations: 1.375 kB / 0.5179 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.3644, allocations: 12.05 kB / 0.5179 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.3644, allocations: 6.75 kB / 0.5179 GB, free: 7.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.478e-05/0.3645, allocations: 149.2 kB / 0.5181 GB, free: 7.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3645, allocations: 1.375 kB / 0.5181 GB, free: 7.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.3647, allocations: 20.5 kB / 0.5181 GB, free: 7.836 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.001879/0.3666, allocations: 1.102 MB / 0.5192 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3668, allocations: 56.91 kB / 0.5192 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3668, allocations: 0 / 0.5192 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.3669, allocations: 31.05 kB / 0.5192 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3672, allocations: 29.77 kB / 0.5193 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3686, allocations: 1.627 MB / 0.5209 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3687, allocations: 0.7079 MB / 0.5216 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.466e-05/0.3687, allocations: 17.19 kB / 0.5216 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.3688, allocations: 35.42 kB / 0.5216 GB, free: 4.363 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3688, allocations: 3.938 kB / 0.5216 GB, free: 4.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.386, allocations: 3.416 MB / 0.5249 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/8.62, allocations: 15.98 kB / 0.525 GB, free: 0.8516 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.021221552044153] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.801149146980606 8.822901228 8.458535419 Calling exit ...