Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.001312/0.001312, allocations: 120.2 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.001502/0.001502, allocations: 204.7 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.49/1.49, allocations: 207.6 MB / 231.2 MB, free: 4.094 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.3467/0.3467, allocations: 44.23 MB / 327.3 MB, free: 6.707 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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.002815/0.002815, allocations: 75.89 kB / 463 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2639, allocations: 61 MB / 0.5117 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003232/0.2671, allocations: 2.321 MB / 0.514 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2688, allocations: 1.189 MB / 0.5151 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2689, allocations: 11.25 kB / 0.5151 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.2694, allocations: 285.8 kB / 0.5154 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.2698, allocations: 273.2 kB / 0.5157 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.2705, allocations: 326.2 kB / 0.516 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.271, allocations: 0.5126 MB / 0.5165 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2711, allocations: 41.56 kB / 0.5165 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.2713, allocations: 248.5 kB / 0.5168 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.2716, allocations: 283.8 kB / 0.517 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.2716, allocations: 22.03 kB / 0.5171 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2717, allocations: 53.08 kB / 0.5171 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.2718, allocations: 111 kB / 0.5172 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2719, allocations: 169.3 kB / 0.5174 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.2723, allocations: 407 kB / 0.5178 GB, free: 8.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2723, allocations: 0 / 0.5178 GB, free: 8.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2723, allocations: 0 / 0.5178 GB, free: 8.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2723, allocations: 0 / 0.5178 GB, free: 8.742 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009003/0.2732, allocations: 0.7744 MB / 0.5185 GB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2733, allocations: 15.89 kB / 0.5185 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.113e-05/0.2733, allocations: 192 / 0.5185 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.2733, allocations: 50.67 kB / 0.5186 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.2734, allocations: 52.61 kB / 0.5186 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.2739, allocations: 416.4 kB / 0.519 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2739, allocations: 20.11 kB / 0.519 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.2739, allocations: 19.94 kB / 0.5191 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.2742, allocations: 202.3 kB / 0.5193 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2742, allocations: 0 / 0.5193 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2743, allocations: 4 kB / 0.5193 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2743, allocations: 4 kB / 0.5193 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.2745, allocations: 103.9 kB / 0.5194 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.2751, allocations: 0.8527 MB / 0.5202 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.2757, allocations: 289.1 kB / 0.5205 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2758, allocations: 88.25 kB / 0.5206 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2758, allocations: 4 kB / 0.5206 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000329/0.2762, allocations: 228.1 kB / 0.5208 GB, free: 5.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.2762, allocations: 0 / 0.5208 GB, free: 5.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001719/0.2779, allocations: 1.014 MB / 0.5218 GB, free: 4.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.278, allocations: 162.2 kB / 0.5219 GB, free: 4.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.2785, allocations: 0.6082 MB / 0.5225 GB, free: 3.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.2785, allocations: 41.7 kB / 0.5226 GB, free: 3.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2786, allocations: 221 kB / 0.5228 GB, free: 3.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.2787, allocations: 130.9 kB / 0.5229 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.2788, allocations: 74.12 kB / 0.523 GB, free: 3.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.2789, allocations: 370.8 kB / 0.5233 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.2791, allocations: 100.8 kB / 0.5234 GB, free: 2.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.2793, allocations: 185.4 kB / 0.5236 GB, free: 2.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.2798, allocations: 300.8 kB / 0.5239 GB, free: 2.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2798, allocations: 3.938 kB / 0.5239 GB, free: 2.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000619/0.2804, allocations: 401.1 kB / 0.5243 GB, free: 1.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2804, allocations: 4.156 kB / 0.5243 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2804, allocations: 12 kB / 0.5243 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2804, allocations: 4 kB / 0.5243 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.2807, allocations: 83.84 kB / 0.5244 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2807, allocations: 7.984 kB / 0.5244 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.2809, allocations: 16 kB / 0.5244 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.2809, allocations: 19.98 kB / 0.5244 GB, free: 1.516 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001834/0.2811, allocations: 204.3 kB / 0.5246 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.2812, allocations: 67.61 kB / 0.5247 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2813, allocations: 63.91 kB / 0.5247 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.2813, allocations: 4 kB / 0.5247 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.2813, allocations: 7.938 kB / 0.5247 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2813, allocations: 0 / 0.5247 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.2829, allocations: 1.261 MB / 0.526 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2829, allocations: 4 kB / 0.526 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.2831, allocations: 43.92 kB / 0.526 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.2831, allocations: 7.938 kB / 0.526 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.2831, allocations: 15.98 kB / 0.526 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2831, allocations: 7.938 kB / 0.526 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.2831, allocations: 8.25 kB / 0.5261 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.2842, allocations: 0.8206 MB / 0.5269 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2843, allocations: 128.7 kB / 0.527 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.2844, allocations: 12 kB / 0.527 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.2847, allocations: 19.92 kB / 0.527 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.2848, allocations: 39.95 kB / 0.527 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.2848, allocations: 23.98 kB / 0.5271 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005304/0.2854, allocations: 454.8 kB / 0.5275 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2854, allocations: 0 / 0.5275 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005896/0.286, allocations: 79.94 kB / 0.5276 GB, free: 14.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003208/0.2892, allocations: 1.728 MB / 0.5293 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006807/0.2898, allocations: 279.9 kB / 0.5295 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2898, allocations: 0 / 0.5295 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.2902, allocations: 141 kB / 0.5297 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2913, allocations: 142 kB / 0.5298 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.2973, allocations: 4.408 MB / 0.5341 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.2978, allocations: 0.8589 MB / 0.5349 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.2981, allocations: 83.39 kB / 0.535 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.2984, allocations: 171.4 kB / 0.5352 GB, free: 6.109 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2984, allocations: 0 / 0.5352 GB, free: 6.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.3279, allocations: 10.63 MB / 0.5456 GB, free: 11.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.254/9.582, allocations: 13.8 kB / 0.5456 GB, free: 11.39 MB / 414.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.570276594022289] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 9.768145597015973 9.78127793 9.505983261999999 Calling exit ...