Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001844/0.001844, allocations: 122.1 kB / 17.83 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.002178/0.002178, allocations: 204.6 kB / 20.79 MB, free: 2.297 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.449/1.449, allocations: 207.6 MB / 231.2 MB, free: 4.105 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.337/0.337, allocations: 44.23 MB / 327.3 MB, free: 6.727 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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.003382/0.003382, allocations: 71.88 kB / 463 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2723, allocations: 61 MB / 0.5117 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002756/0.2751, allocations: 1.791 MB / 0.5134 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2768, allocations: 1.505 MB / 0.5149 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2769, allocations: 5.531 kB / 0.5149 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.2772, allocations: 49.58 kB / 0.515 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.2775, allocations: 90.78 kB / 0.5151 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.2778, allocations: 146.2 kB / 0.5152 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.2781, allocations: 184.2 kB / 0.5154 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.2781, allocations: 13.27 kB / 0.5154 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2783, allocations: 88.14 kB / 0.5155 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2784, allocations: 69.25 kB / 0.5155 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.2785, allocations: 6.438 kB / 0.5155 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.2786, allocations: 72.11 kB / 0.5156 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.2787, allocations: 31.61 kB / 0.5156 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.2787, allocations: 53.02 kB / 0.5157 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.279, allocations: 172.7 kB / 0.5159 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.279, allocations: 0 / 0.5159 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.279, allocations: 1.25 kB / 0.5159 GB, free: 10.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.279, allocations: 0 / 0.5159 GB, free: 10.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005419/0.2795, allocations: 483.6 kB / 0.5163 GB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2796, allocations: 14.2 kB / 0.5163 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.897e-05/0.2796, allocations: 1.25 kB / 0.5163 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.2796, allocations: 36.75 kB / 0.5164 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.2796, allocations: 16.34 kB / 0.5164 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.2799, allocations: 238.3 kB / 0.5166 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2799, allocations: 5.562 kB / 0.5166 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2799, allocations: 6.75 kB / 0.5166 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.2801, allocations: 100.3 kB / 0.5167 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2801, allocations: 0 / 0.5167 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2802, allocations: 5.656 kB / 0.5167 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2802, allocations: 0 / 0.5167 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2803, allocations: 27.98 kB / 0.5167 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.2804, allocations: 223 kB / 0.517 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2807, allocations: 103.6 kB / 0.5171 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.2808, allocations: 40.45 kB / 0.5171 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2808, allocations: 5.25 kB / 0.5171 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.281, allocations: 104.3 kB / 0.5172 GB, free: 8.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.281, allocations: 0 / 0.5172 GB, free: 8.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004235/0.2814, allocations: 166.5 kB / 0.5174 GB, free: 8.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.2815, allocations: 135.3 kB / 0.5175 GB, free: 8.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2816, allocations: 213.7 kB / 0.5177 GB, free: 8.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2816, allocations: 27.08 kB / 0.5177 GB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.2817, allocations: 115 kB / 0.5178 GB, free: 8.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.2817, allocations: 31.86 kB / 0.5179 GB, free: 8.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.2818, allocations: 31.28 kB / 0.5179 GB, free: 8.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.2818, allocations: 326.9 kB / 0.5182 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.2819, allocations: 31.11 kB / 0.5182 GB, free: 7.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.282, allocations: 65.77 kB / 0.5183 GB, free: 7.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.2821, allocations: 103.5 kB / 0.5184 GB, free: 7.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2822, allocations: 4.031 kB / 0.5184 GB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002355/0.2824, allocations: 130 kB / 0.5185 GB, free: 7.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2824, allocations: 5.5 kB / 0.5185 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2824, allocations: 0 / 0.5185 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2824, allocations: 2.75 kB / 0.5185 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2825, allocations: 28.42 kB / 0.5186 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2825, allocations: 2.75 kB / 0.5186 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.2826, allocations: 12.02 kB / 0.5186 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2826, allocations: 8.188 kB / 0.5186 GB, free: 7.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.882e-05/0.2827, allocations: 132.6 kB / 0.5187 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.2827, allocations: 20.94 kB / 0.5187 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.2828, allocations: 22.5 kB / 0.5187 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2828, allocations: 2 kB / 0.5187 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2828, allocations: 0 / 0.5187 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2828, allocations: 2 kB / 0.5187 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2829, allocations: 216.9 kB / 0.519 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2829, allocations: 3.984 kB / 0.519 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.2829, allocations: 14.38 kB / 0.519 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2829, allocations: 1.5 kB / 0.519 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.283, allocations: 1.719 kB / 0.519 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.283, allocations: 1.094 kB / 0.519 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.283, allocations: 0 / 0.519 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.2832, allocations: 186 kB / 0.5192 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.2832, allocations: 85.06 kB / 0.5192 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.2833, allocations: 8.125 kB / 0.5192 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.2833, allocations: 4 kB / 0.5192 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.2834, allocations: 11.98 kB / 0.5193 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2834, allocations: 4 kB / 0.5193 GB, free: 6.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2835, allocations: 165.5 kB / 0.5194 GB, free: 6.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2835, allocations: 0 / 0.5194 GB, free: 6.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.2837, allocations: 43.88 kB / 0.5195 GB, free: 6.598 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001813/0.2855, allocations: 1.052 MB / 0.5205 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2858, allocations: 83.89 kB / 0.5206 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2858, allocations: 3.938 kB / 0.5206 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.2859, allocations: 31.98 kB / 0.5206 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.2862, allocations: 51.94 kB / 0.5207 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2878, allocations: 1.828 MB / 0.5224 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.2879, allocations: 0.7164 MB / 0.5231 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.941e-05/0.288, allocations: 33.95 kB / 0.5232 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.288, allocations: 51.41 kB / 0.5232 GB, free: 2.629 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.288, allocations: 0 / 0.5232 GB, free: 2.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.3154, allocations: 4.772 MB / 0.5279 GB, free: 13.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.784/9.1, allocations: 9.812 kB / 0.5279 GB, free: 13.73 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.965865048056003] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 9.290778033027891 9.316523648 9.032662769 Calling exit ...