Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001764/0.001764, allocations: 126.1 kB / 17.84 MB, free: 5.258 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.0021/0.0021, allocations: 200.6 kB / 20.79 MB, free: 2.32 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.743/1.743, allocations: 207.6 MB / 231.2 MB, free: 4.121 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.4267/0.4267, allocations: 44.23 MB / 327.3 MB, free: 6.766 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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.002277/0.002277, allocations: 75.89 kB / 463 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.372, allocations: 61 MB / 0.5117 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003199/0.3752, allocations: 1.706 MB / 0.5134 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3763, allocations: 0.8116 MB / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.3764, allocations: 0 / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.3767, allocations: 44.27 kB / 0.5142 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3769, allocations: 61.97 kB / 0.5143 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.3771, allocations: 94.83 kB / 0.5144 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3773, allocations: 93.34 kB / 0.5144 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.3774, allocations: 11.81 kB / 0.5145 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.3774, allocations: 48.27 kB / 0.5145 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.3775, allocations: 31.11 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3775, allocations: 1.969 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.3776, allocations: 43.06 kB / 0.5146 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.3777, allocations: 19.7 kB / 0.5146 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.3777, allocations: 34.83 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.3779, allocations: 124.4 kB / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3779, allocations: 0 / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3779, allocations: 1.344 kB / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3779, allocations: 3.984 kB / 0.5148 GB, free: 10.87 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.0004798/0.3784, allocations: 411.8 kB / 0.5151 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3785, allocations: 13.67 kB / 0.5152 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.3785, allocations: 1.438 kB / 0.5152 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.257e-05/0.3785, allocations: 35.95 kB / 0.5152 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.3785, allocations: 13.86 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.3788, allocations: 224.2 kB / 0.5154 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3788, allocations: 6 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3788, allocations: 2 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.379, allocations: 54.48 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.379, allocations: 0 / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.379, allocations: 0 / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.379, allocations: 5.125 kB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.3791, allocations: 19.3 kB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.3794, allocations: 289.7 kB / 0.5158 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3796, allocations: 60.11 kB / 0.5158 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.3796, allocations: 17.83 kB / 0.5159 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.3796, allocations: 0 / 0.5159 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.3798, allocations: 69.86 kB / 0.5159 GB, free: 9.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3798, allocations: 0 / 0.5159 GB, free: 9.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005441/0.3803, allocations: 175 kB / 0.5161 GB, free: 9.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3803, allocations: 51.41 kB / 0.5161 GB, free: 9.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3805, allocations: 203.7 kB / 0.5163 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3805, allocations: 27.17 kB / 0.5164 GB, free: 9.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.3805, allocations: 108.8 kB / 0.5165 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.3806, allocations: 31.44 kB / 0.5165 GB, free: 9.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.3806, allocations: 24.66 kB / 0.5165 GB, free: 9.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.3807, allocations: 322.6 kB / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.424e-05/0.3807, allocations: 27.64 kB / 0.5169 GB, free: 8.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/0.3808, allocations: 39.33 kB / 0.5169 GB, free: 8.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3809, allocations: 50.16 kB / 0.5169 GB, free: 8.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3809, allocations: 4 kB / 0.5169 GB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.381, allocations: 108 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3811, allocations: 5.906 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3811, allocations: 0 / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3811, allocations: 1.406 kB / 0.5171 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.3812, allocations: 16.8 kB / 0.5171 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3812, allocations: 9.75 kB / 0.5171 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.3812, allocations: 1.25 kB / 0.5171 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3812, allocations: 6.625 kB / 0.5171 GB, free: 8.664 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.205e-05/0.3813, allocations: 128.1 kB / 0.5172 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.3813, allocations: 9.641 kB / 0.5172 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.3814, allocations: 14.12 kB / 0.5172 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3814, allocations: 1.406 kB / 0.5172 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3814, allocations: 5.594 kB / 0.5172 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3814, allocations: 3.984 kB / 0.5172 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.3817, allocations: 393 kB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3817, allocations: 9.344 kB / 0.5176 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.3818, allocations: 8.25 kB / 0.5176 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3818, allocations: 3.938 kB / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3818, allocations: 6.75 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3818, allocations: 0 / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3818, allocations: 1.375 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.382, allocations: 204.5 kB / 0.5178 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.382, allocations: 95.7 kB / 0.5179 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.382, allocations: 5.375 kB / 0.5179 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.3821, allocations: 2.75 kB / 0.5179 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3821, allocations: 6.734 kB / 0.5179 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3821, allocations: 8.109 kB / 0.5179 GB, free: 7.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3822, allocations: 151.5 kB / 0.5181 GB, free: 7.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3822, allocations: 0 / 0.5181 GB, free: 7.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3825, allocations: 24.44 kB / 0.5181 GB, free: 7.703 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.001904/0.3844, allocations: 1.111 MB / 0.5192 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.3846, allocations: 56.92 kB / 0.5193 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3846, allocations: 0 / 0.5193 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.3847, allocations: 23.11 kB / 0.5193 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.385, allocations: 37.56 kB / 0.5193 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3864, allocations: 1.664 MB / 0.5209 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.3866, allocations: 0.7002 MB / 0.5216 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.3866, allocations: 17.17 kB / 0.5216 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.3867, allocations: 35.42 kB / 0.5217 GB, free: 4.273 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3867, allocations: 4 kB / 0.5217 GB, free: 4.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.4055, allocations: 3.491 MB / 0.5251 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.754, allocations: 10.78 kB / 0.5251 GB, free: 0.7031 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.088283280027099] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.934095483040437 8.949776324 8.568676608 Calling exit ...