Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.001834/0.001834, allocations: 111.4 kB / 17.83 MB, free: 5.316 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.00223/0.00223, allocations: 208 kB / 20.79 MB, free: 2.371 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.455/1.455, allocations: 207.6 MB / 231.2 MB, free: 4.086 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.3267/0.3267, allocations: 44.23 MB / 327.3 MB, free: 6.777 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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.002295/0.002295, allocations: 63.91 kB / 463 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2653, allocations: 61 MB / 0.5117 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002552/0.2678, allocations: 1.667 MB / 0.5133 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2688, allocations: 0.7918 MB / 0.5141 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.2689, allocations: 6.094 kB / 0.5141 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.2692, allocations: 81.53 kB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.2694, allocations: 78.84 kB / 0.5143 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.2696, allocations: 89.64 kB / 0.5144 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.2698, allocations: 108.5 kB / 0.5145 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.2698, allocations: 6.109 kB / 0.5145 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.2699, allocations: 57.66 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.27, allocations: 55.66 kB / 0.5146 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.27, allocations: 3.469 kB / 0.5146 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.2701, allocations: 23.25 kB / 0.5146 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.2701, allocations: 24.08 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.2702, allocations: 43.38 kB / 0.5147 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2703, allocations: 99.33 kB / 0.5148 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2704, allocations: 1.219 kB / 0.5148 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2704, allocations: 4 kB / 0.5148 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2704, allocations: 0 / 0.5148 GB, free: 10.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004749/0.2708, allocations: 417.1 kB / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2709, allocations: 12.42 kB / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.289e-05/0.2709, allocations: 2.094 kB / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.925e-05/0.2709, allocations: 30.75 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.2709, allocations: 10.73 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.2712, allocations: 219.3 kB / 0.5154 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.2712, allocations: 4.125 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2712, allocations: 5.969 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.2713, allocations: 47.3 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2713, allocations: 0 / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2713, allocations: 1.5 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2713, allocations: 0 / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.424e-05/0.2714, allocations: 15.55 kB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.2716, allocations: 180.7 kB / 0.5157 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2717, allocations: 62.02 kB / 0.5157 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.2718, allocations: 16.11 kB / 0.5157 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.2718, allocations: 0 / 0.5157 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.2719, allocations: 68.58 kB / 0.5158 GB, free: 9.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2719, allocations: 0 / 0.5158 GB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002639/0.2722, allocations: 108.1 kB / 0.5159 GB, free: 9.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.2722, allocations: 52.91 kB / 0.516 GB, free: 9.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2724, allocations: 215.3 kB / 0.5162 GB, free: 9.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.2724, allocations: 27.36 kB / 0.5162 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.2724, allocations: 105.6 kB / 0.5163 GB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2724, allocations: 10.66 kB / 0.5163 GB, free: 9.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.2725, allocations: 21.83 kB / 0.5163 GB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.2725, allocations: 331 kB / 0.5166 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.2725, allocations: 12.25 kB / 0.5166 GB, free: 8.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.2726, allocations: 27.33 kB / 0.5167 GB, free: 8.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.2727, allocations: 51.45 kB / 0.5167 GB, free: 8.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2727, allocations: 3.938 kB / 0.5167 GB, free: 8.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001332/0.2728, allocations: 79.83 kB / 0.5168 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2728, allocations: 9.531 kB / 0.5168 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2728, allocations: 0 / 0.5168 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2728, allocations: 1.375 kB / 0.5168 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.2729, allocations: 12.19 kB / 0.5168 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.2729, allocations: 5.359 kB / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.273, allocations: 6.703 kB / 0.5168 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.273, allocations: 5.375 kB / 0.5168 GB, free: 8.824 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 (7): * Single equations (assignments): 7 * 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 6.839e-05/0.273, allocations: 131.3 kB / 0.517 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.2731, allocations: 9.453 kB / 0.517 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.2731, allocations: 18.5 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2731, allocations: 0 / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2731, allocations: 1.375 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2731, allocations: 0 / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.372e-05/0.2732, allocations: 194 kB / 0.5172 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2732, allocations: 0 / 0.5172 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.2732, allocations: 8.422 kB / 0.5172 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2732, allocations: 0 / 0.5172 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2732, allocations: 1.375 kB / 0.5172 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2732, allocations: 4 kB / 0.5172 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2732, allocations: 1.375 kB / 0.5172 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.2734, allocations: 121.9 kB / 0.5173 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.2734, allocations: 87.75 kB / 0.5174 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2734, allocations: 3.984 kB / 0.5174 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.2735, allocations: 2.75 kB / 0.5174 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.2735, allocations: 1.375 kB / 0.5174 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2735, allocations: 6.75 kB / 0.5174 GB, free: 8.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.658e-05/0.2736, allocations: 159.4 kB / 0.5176 GB, free: 8.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2736, allocations: 0 / 0.5176 GB, free: 8.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.2738, allocations: 17.73 kB / 0.5176 GB, free: 8.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001636/0.2754, allocations: 0.9603 MB / 0.5185 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.2756, allocations: 39.36 kB / 0.5186 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2756, allocations: 0 / 0.5186 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.2757, allocations: 22.92 kB / 0.5186 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2759, allocations: 24.36 kB / 0.5186 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2772, allocations: 1.541 MB / 0.5201 GB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2773, allocations: 0.7042 MB / 0.5208 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.2773, allocations: 12.8 kB / 0.5208 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.2774, allocations: 32.8 kB / 0.5208 GB, free: 5.125 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2774, allocations: 1.344 kB / 0.5208 GB, free: 5.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.2944, allocations: 3.25 MB / 0.524 GB, free: 1.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/9.093, allocations: 10.41 kB / 0.524 GB, free: 1.832 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.927037871035282] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 9.27730227302527 9.302310498 9.027190127 Calling exit ...