Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001391/0.001391, allocations: 126.2 kB / 17.84 MB, free: 5.223 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.001461/0.001461, allocations: 203.8 kB / 20.79 MB, free: 2.281 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.519/1.519, allocations: 207.6 MB / 231.2 MB, free: 4.102 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.3318/0.3318, allocations: 44.23 MB / 327.3 MB, free: 6.66 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.003091/0.003091, allocations: 71.91 kB / 463 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2787, allocations: 61 MB / 0.5117 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002466/0.2812, allocations: 1.708 MB / 0.5134 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.2822, allocations: 0.8255 MB / 0.5142 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.2822, allocations: 3.938 kB / 0.5142 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.2825, allocations: 53.78 kB / 0.5142 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.2827, allocations: 64.94 kB / 0.5143 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.2829, allocations: 82.56 kB / 0.5144 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.2831, allocations: 97.23 kB / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.2831, allocations: 12.09 kB / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.2832, allocations: 46.5 kB / 0.5145 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.2833, allocations: 35.91 kB / 0.5146 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2833, allocations: 4.125 kB / 0.5146 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.948e-05/0.2834, allocations: 37.98 kB / 0.5146 GB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.2834, allocations: 28.83 kB / 0.5146 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.2835, allocations: 43.5 kB / 0.5147 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.2836, allocations: 135.6 kB / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2836, allocations: 0 / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2837, allocations: 0 / 0.5148 GB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.2837, allocations: 3.938 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.000416/0.2841, allocations: 451.8 kB / 0.5152 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2841, allocations: 13.17 kB / 0.5152 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.377e-05/0.2841, allocations: 1.094 kB / 0.5152 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.799e-05/0.2841, allocations: 35.84 kB / 0.5153 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.2842, allocations: 15.34 kB / 0.5153 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2844, allocations: 220.6 kB / 0.5155 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2844, allocations: 5.5 kB / 0.5155 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.2844, allocations: 9.344 kB / 0.5155 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2845, allocations: 50.55 kB / 0.5156 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2845, allocations: 0 / 0.5156 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.2845, allocations: 5.281 kB / 0.5156 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2845, allocations: 0.7188 kB / 0.5156 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.2846, allocations: 26.31 kB / 0.5156 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.2849, allocations: 303.6 kB / 0.5159 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.285, allocations: 55.98 kB / 0.5159 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.2851, allocations: 17.14 kB / 0.516 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2851, allocations: 5.219 kB / 0.516 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.2852, allocations: 72.84 kB / 0.516 GB, free: 9.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.2852, allocations: 3.938 kB / 0.516 GB, free: 9.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004795/0.2857, allocations: 180.6 kB / 0.5162 GB, free: 9.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.2857, allocations: 60.78 kB / 0.5163 GB, free: 9.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.2859, allocations: 272.2 kB / 0.5165 GB, free: 9.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2859, allocations: 30.89 kB / 0.5166 GB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.286, allocations: 111.8 kB / 0.5167 GB, free: 9.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.286, allocations: 27.78 kB / 0.5167 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.286, allocations: 28.05 kB / 0.5167 GB, free: 9.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.2861, allocations: 324.4 kB / 0.517 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.2861, allocations: 26.45 kB / 0.517 GB, free: 8.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.407e-05/0.2862, allocations: 36.23 kB / 0.5171 GB, free: 8.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.2863, allocations: 63.62 kB / 0.5171 GB, free: 8.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2863, allocations: 0 / 0.5171 GB, free: 8.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001593/0.2864, allocations: 104.4 kB / 0.5172 GB, free: 8.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2864, allocations: 5.5 kB / 0.5172 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2864, allocations: 5.406 kB / 0.5173 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2865, allocations: 0 / 0.5173 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.2865, allocations: 17.7 kB / 0.5173 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2865, allocations: 5.312 kB / 0.5173 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.2866, allocations: 9.328 kB / 0.5173 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2866, allocations: 2.75 kB / 0.5173 GB, free: 8.562 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.028e-05/0.2867, allocations: 134.3 kB / 0.5174 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2867, allocations: 14.78 kB / 0.5174 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.2867, allocations: 25.64 kB / 0.5175 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2867, allocations: 1.375 kB / 0.5175 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2867, allocations: 3.938 kB / 0.5175 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2867, allocations: 5.312 kB / 0.5175 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.287, allocations: 400.1 kB / 0.5178 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.287, allocations: 0 / 0.5178 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.2871, allocations: 12.19 kB / 0.5179 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2871, allocations: 3.938 kB / 0.5179 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.2871, allocations: 2.75 kB / 0.5179 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2871, allocations: 4.031 kB / 0.5179 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2871, allocations: 5.359 kB / 0.5179 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.2873, allocations: 201.7 kB / 0.5181 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.2873, allocations: 97.02 kB / 0.5182 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2873, allocations: 1.938 kB / 0.5182 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.2874, allocations: 2.75 kB / 0.5182 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.2874, allocations: 26.61 kB / 0.5182 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.2874, allocations: 4.125 kB / 0.5182 GB, free: 7.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.2875, allocations: 209.5 kB / 0.5184 GB, free: 7.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2875, allocations: 0 / 0.5184 GB, free: 7.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.2878, allocations: 24.44 kB / 0.5184 GB, free: 7.562 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.001795/0.2896, allocations: 1.099 MB / 0.5195 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2898, allocations: 56.98 kB / 0.5195 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2898, allocations: 4.062 kB / 0.5195 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.301e-05/0.2898, allocations: 26.58 kB / 0.5196 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.2902, allocations: 27.39 kB / 0.5196 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2915, allocations: 1.847 MB / 0.5214 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.2916, allocations: 0.7119 MB / 0.5221 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.039e-05/0.2916, allocations: 16.86 kB / 0.5221 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2917, allocations: 43.42 kB / 0.5221 GB, free: 3.793 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2917, allocations: 0 / 0.5221 GB, free: 3.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.309, allocations: 3.831 MB / 0.5259 GB, free: 15.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/8.944, allocations: 4.719 kB / 0.5259 GB, free: 15.89 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.81420998298563] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.124283495999407 9.139810946 8.853225478 Calling exit ...