Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001382/0.001382, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.001452/0.001452, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.694/1.694, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.4324/0.4324, allocations: 44.23 MB / 327.3 MB, free: 6.719 MB / 254.1 MB " [Timeout remaining time 179] 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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.00234/0.00234, allocations: 67.91 kB / 463 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4237, allocations: 61 MB / 0.5117 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002904/0.4266, allocations: 1.717 MB / 0.5134 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.4277, allocations: 0.8079 MB / 0.5142 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.4278, allocations: 5.375 kB / 0.5142 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.4282, allocations: 80.98 kB / 0.5143 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.4284, allocations: 73.39 kB / 0.5143 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.4286, allocations: 88.69 kB / 0.5144 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.4288, allocations: 114.8 kB / 0.5145 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.4289, allocations: 11.27 kB / 0.5145 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.429, allocations: 50.72 kB / 0.5146 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.4291, allocations: 68.42 kB / 0.5146 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.4291, allocations: 8.062 kB / 0.5146 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-05/0.4292, allocations: 50.03 kB / 0.5147 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.4293, allocations: 20.17 kB / 0.5147 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.4293, allocations: 35.94 kB / 0.5148 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.4295, allocations: 113.5 kB / 0.5149 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4295, allocations: 0 / 0.5149 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4295, allocations: 0 / 0.5149 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4295, allocations: 1.188 kB / 0.5149 GB, free: 10.88 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.0006247/0.4302, allocations: 429.4 kB / 0.5153 GB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.347e-05/0.4302, allocations: 13.3 kB / 0.5153 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.565e-05/0.4303, allocations: 5.875 kB / 0.5153 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.4303, allocations: 30.75 kB / 0.5153 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.4304, allocations: 14.81 kB / 0.5153 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.4308, allocations: 212.3 kB / 0.5155 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.4308, allocations: 9.844 kB / 0.5155 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.4308, allocations: 2.031 kB / 0.5155 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.431, allocations: 58.02 kB / 0.5156 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.4311, allocations: 3.984 kB / 0.5156 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4311, allocations: 0.9375 kB / 0.5156 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4311, allocations: 1.375 kB / 0.5156 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.4312, allocations: 18.27 kB / 0.5156 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.4317, allocations: 290.5 kB / 0.5159 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.4319, allocations: 56.69 kB / 0.516 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.509e-05/0.432, allocations: 20.53 kB / 0.516 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.432, allocations: 1.094 kB / 0.516 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.4322, allocations: 65.08 kB / 0.516 GB, free: 9.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.4322, allocations: 0 / 0.516 GB, free: 9.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007787/0.433, allocations: 187.1 kB / 0.5162 GB, free: 9.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4331, allocations: 56.5 kB / 0.5163 GB, free: 9.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.4334, allocations: 221 kB / 0.5165 GB, free: 9.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.4334, allocations: 34.98 kB / 0.5165 GB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.4334, allocations: 97.73 kB / 0.5166 GB, free: 9.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.4335, allocations: 26.61 kB / 0.5166 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.4336, allocations: 24.72 kB / 0.5167 GB, free: 9.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4337, allocations: 323 kB / 0.517 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.4337, allocations: 23.05 kB / 0.517 GB, free: 8.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.4338, allocations: 43.33 kB / 0.517 GB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.434, allocations: 56.33 kB / 0.5171 GB, free: 8.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.434, allocations: 0 / 0.5171 GB, free: 8.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.4342, allocations: 102.2 kB / 0.5172 GB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.4342, allocations: 5.344 kB / 0.5172 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4342, allocations: 5 kB / 0.5172 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.4342, allocations: 5.562 kB / 0.5172 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.4343, allocations: 20.95 kB / 0.5172 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4343, allocations: 5.719 kB / 0.5172 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.4344, allocations: 1.438 kB / 0.5172 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4344, allocations: 2.75 kB / 0.5172 GB, free: 8.648 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 0.0001382/0.4346, allocations: 128.6 kB / 0.5173 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.4346, allocations: 9.328 kB / 0.5174 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.4346, allocations: 20.33 kB / 0.5174 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4346, allocations: 0 / 0.5174 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4346, allocations: 9.312 kB / 0.5174 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4347, allocations: 3.984 kB / 0.5174 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.4352, allocations: 398.5 kB / 0.5178 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4352, allocations: 1.375 kB / 0.5178 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.4352, allocations: 12.23 kB / 0.5178 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4352, allocations: 3.938 kB / 0.5178 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.4352, allocations: 6.75 kB / 0.5178 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4352, allocations: 0 / 0.5178 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4352, allocations: 5.406 kB / 0.5178 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4355, allocations: 200.3 kB / 0.518 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.4355, allocations: 95.7 kB / 0.5181 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4356, allocations: 2.75 kB / 0.5181 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.4356, allocations: 5.734 kB / 0.5181 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.4357, allocations: 4.125 kB / 0.5181 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.4357, allocations: 10.75 kB / 0.5181 GB, free: 7.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.4359, allocations: 163.3 kB / 0.5183 GB, free: 7.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4359, allocations: 1.375 kB / 0.5183 GB, free: 7.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.4362, allocations: 20.5 kB / 0.5183 GB, free: 7.676 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.002144/0.4383, allocations: 1.108 MB / 0.5194 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.4385, allocations: 55.38 kB / 0.5194 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4385, allocations: 1.344 kB / 0.5194 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.4386, allocations: 31.52 kB / 0.5194 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.4389, allocations: 24.45 kB / 0.5195 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.4405, allocations: 1.691 MB / 0.5211 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.4406, allocations: 0.7119 MB / 0.5218 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.4407, allocations: 24.72 kB / 0.5218 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.4407, allocations: 35.42 kB / 0.5219 GB, free: 4.074 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4407, allocations: 0 / 0.5219 GB, free: 4.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.4591, allocations: 3.533 MB / 0.5253 GB, free: 488 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.749, allocations: 22.33 kB / 0.5253 GB, free: 468 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.060705208976287] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.929463937995024 8.95181723 8.517821282 Calling exit ...