Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001842/0.001842, 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.002271/0.002271, 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.513/1.513, 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.3451/0.3451, allocations: 44.23 MB / 327.3 MB, free: 6.715 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.002229/0.002229, allocations: 67.91 kB / 463 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.306, allocations: 61.01 MB / 0.5117 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002998/0.309, allocations: 1.704 MB / 0.5134 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3101, allocations: 0.8128 MB / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.3102, allocations: 0.8438 kB / 0.5142 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.3105, allocations: 94.77 kB / 0.5143 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.3108, allocations: 72.95 kB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.311, allocations: 86.38 kB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3112, allocations: 107.5 kB / 0.5145 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.3112, allocations: 10.31 kB / 0.5145 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.3113, allocations: 57.12 kB / 0.5146 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.3114, allocations: 64.88 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3114, allocations: 7.438 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.3115, allocations: 41.64 kB / 0.5147 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.3116, allocations: 20.17 kB / 0.5147 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.3116, allocations: 39.92 kB / 0.5147 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.3118, allocations: 117.2 kB / 0.5149 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3118, allocations: 0 / 0.5149 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3118, allocations: 1.312 kB / 0.5149 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3118, allocations: 0 / 0.5149 GB, free: 10.82 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.0004597/0.3123, allocations: 425.1 kB / 0.5153 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3123, allocations: 18.64 kB / 0.5153 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.3123, allocations: 192 / 0.5153 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.982e-05/0.3123, allocations: 35.75 kB / 0.5153 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.3124, allocations: 14.44 kB / 0.5153 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3126, allocations: 208.8 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3126, allocations: 5.562 kB / 0.5155 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3126, allocations: 5.281 kB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3128, allocations: 50.55 kB / 0.5156 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3128, allocations: 4 kB / 0.5156 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3128, allocations: 5.281 kB / 0.5156 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3128, allocations: 0 / 0.5156 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.3129, allocations: 18.39 kB / 0.5156 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.3131, allocations: 295.6 kB / 0.5159 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3133, allocations: 52.89 kB / 0.5159 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.3133, allocations: 20.61 kB / 0.516 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3134, allocations: 5.141 kB / 0.516 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.3135, allocations: 72.89 kB / 0.516 GB, free: 9.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3135, allocations: 0 / 0.516 GB, free: 9.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004989/0.314, allocations: 178.7 kB / 0.5162 GB, free: 9.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.314, allocations: 56.7 kB / 0.5163 GB, free: 9.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3142, allocations: 219.7 kB / 0.5165 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.3142, allocations: 31.17 kB / 0.5165 GB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.3142, allocations: 105.1 kB / 0.5166 GB, free: 9.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3142, allocations: 20.67 kB / 0.5166 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3143, allocations: 24.17 kB / 0.5166 GB, free: 9.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.3143, allocations: 326.6 kB / 0.517 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.3144, allocations: 18.73 kB / 0.517 GB, free: 8.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.3145, allocations: 36.38 kB / 0.517 GB, free: 8.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3146, allocations: 58.02 kB / 0.5171 GB, free: 8.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3146, allocations: 0 / 0.5171 GB, free: 8.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001611/0.3147, allocations: 107.8 kB / 0.5172 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3147, allocations: 9.5 kB / 0.5172 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3147, allocations: 1.344 kB / 0.5172 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3148, allocations: 1.312 kB / 0.5172 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.3148, allocations: 20.19 kB / 0.5172 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3148, allocations: 5.406 kB / 0.5172 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.3149, allocations: 10.73 kB / 0.5172 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3149, allocations: 2.594 kB / 0.5172 GB, free: 8.594 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 6.933e-05/0.315, allocations: 124.8 kB / 0.5173 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.315, allocations: 13.44 kB / 0.5173 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.315, allocations: 14.91 kB / 0.5174 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.315, allocations: 1.375 kB / 0.5174 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.315, allocations: 3.938 kB / 0.5174 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.315, allocations: 5.375 kB / 0.5174 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.3154, allocations: 406.6 kB / 0.5178 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3154, allocations: 1.375 kB / 0.5178 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.3154, allocations: 6.875 kB / 0.5178 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3154, allocations: 9.297 kB / 0.5178 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.3155, allocations: 1.375 kB / 0.5178 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3155, allocations: 1.375 kB / 0.5178 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3155, allocations: 0 / 0.5178 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.3157, allocations: 205.7 kB / 0.518 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.3157, allocations: 95.88 kB / 0.5181 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3157, allocations: 1.75 kB / 0.5181 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3158, allocations: 10.69 kB / 0.5181 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.3158, allocations: 6.734 kB / 0.5181 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3158, allocations: 8.125 kB / 0.5181 GB, free: 7.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3159, allocations: 159.4 kB / 0.5182 GB, free: 7.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3159, allocations: 0 / 0.5182 GB, free: 7.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3162, allocations: 20.5 kB / 0.5183 GB, free: 7.625 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.002065/0.3183, allocations: 1.108 MB / 0.5193 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3185, allocations: 60.91 kB / 0.5194 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3185, allocations: 0 / 0.5194 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/0.3186, allocations: 23.23 kB / 0.5194 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.319, allocations: 36.5 kB / 0.5195 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3205, allocations: 1.693 MB / 0.5211 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.3206, allocations: 0.708 MB / 0.5218 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.908e-05/0.3207, allocations: 20.42 kB / 0.5218 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.3207, allocations: 35.42 kB / 0.5219 GB, free: 4.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3207, allocations: 0 / 0.5219 GB, free: 4.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.3386, allocations: 3.534 MB / 0.5253 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/8.988, allocations: 10.64 kB / 0.5253 GB, free: 496 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.906645968963858] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.174223169975448 9.2009377 8.884188955 Calling exit ...