Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001657/0.001657, allocations: 118.9 kB / 17.83 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.001983/0.001983, allocations: 210.3 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.678/1.678, allocations: 207.6 MB / 231.2 MB, free: 4.121 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.4336/0.4336, allocations: 44.24 MB / 327.3 MB, free: 6.699 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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.002285/0.002285, allocations: 71.91 kB / 463 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3625, allocations: 61.01 MB / 0.5117 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003145/0.3657, allocations: 1.8 MB / 0.5135 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3671, allocations: 0.8855 MB / 0.5143 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.3672, allocations: 4.781 kB / 0.5143 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.3677, allocations: 312.1 kB / 0.5146 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.3681, allocations: 215.4 kB / 0.5148 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3684, allocations: 138.2 kB / 0.515 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.3687, allocations: 247.2 kB / 0.5152 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.3688, allocations: 10.42 kB / 0.5152 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3689, allocations: 129.7 kB / 0.5153 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.3692, allocations: 219 kB / 0.5155 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.3692, allocations: 6.438 kB / 0.5155 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3693, allocations: 44.72 kB / 0.5156 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.3695, allocations: 138.5 kB / 0.5157 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3696, allocations: 150.5 kB / 0.5159 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.3701, allocations: 364.5 kB / 0.5162 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3701, allocations: 0 / 0.5162 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3701, allocations: 0 / 0.5162 GB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3701, allocations: 5.312 kB / 0.5162 GB, free: 10.06 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.000956/0.371, allocations: 0.7396 MB / 0.5169 GB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3711, allocations: 13.48 kB / 0.517 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.501e-05/0.3711, allocations: 9.562 kB / 0.517 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.3711, allocations: 40.05 kB / 0.517 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.3712, allocations: 50.61 kB / 0.5171 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.3718, allocations: 450.9 kB / 0.5175 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3718, allocations: 12.11 kB / 0.5175 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3718, allocations: 4 kB / 0.5175 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.372, allocations: 83.38 kB / 0.5176 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.372, allocations: 3.984 kB / 0.5176 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.372, allocations: 7.984 kB / 0.5176 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.372, allocations: 0 / 0.5176 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3721, allocations: 35.8 kB / 0.5176 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.3725, allocations: 374.4 kB / 0.518 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.3727, allocations: 109.1 kB / 0.5181 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.3728, allocations: 37.69 kB / 0.5181 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3728, allocations: 4 kB / 0.5181 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.373, allocations: 109 kB / 0.5182 GB, free: 8.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.373, allocations: 0 / 0.5182 GB, free: 8.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004611/0.3735, allocations: 197.2 kB / 0.5184 GB, free: 7.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3735, allocations: 81.09 kB / 0.5185 GB, free: 7.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/0.3743, allocations: 1.034 MB / 0.5195 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3743, allocations: 33.69 kB / 0.5195 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3745, allocations: 228.1 kB / 0.5198 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.3745, allocations: 35.77 kB / 0.5198 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3745, allocations: 29.72 kB / 0.5198 GB, free: 6.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.3746, allocations: 366.8 kB / 0.5202 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.3747, allocations: 27.98 kB / 0.5202 GB, free: 5.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.3748, allocations: 59.42 kB / 0.5202 GB, free: 5.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.375, allocations: 103.8 kB / 0.5203 GB, free: 5.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.375, allocations: 0 / 0.5203 GB, free: 5.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002466/0.3752, allocations: 165.2 kB / 0.5205 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3752, allocations: 8 kB / 0.5205 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3752, allocations: 0 / 0.5205 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.3752, allocations: 0 / 0.5205 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3754, allocations: 27.92 kB / 0.5205 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3754, allocations: 4.062 kB / 0.5205 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.3755, allocations: 11.98 kB / 0.5206 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3755, allocations: 4 kB / 0.5206 GB, free: 5.57 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0001717/0.3756, allocations: 225.6 kB / 0.5208 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.3757, allocations: 59.66 kB / 0.5208 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.3758, allocations: 56 kB / 0.5209 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3758, allocations: 4 kB / 0.5209 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3758, allocations: 0 / 0.5209 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3758, allocations: 4 kB / 0.5209 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.376, allocations: 345.3 kB / 0.5212 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.376, allocations: 0 / 0.5212 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.3761, allocations: 8 kB / 0.5212 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3761, allocations: 7.875 kB / 0.5212 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3761, allocations: 0 / 0.5212 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3761, allocations: 4 kB / 0.5212 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3761, allocations: 0 / 0.5212 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.3764, allocations: 213.5 kB / 0.5214 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.3765, allocations: 136.9 kB / 0.5216 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.3765, allocations: 8 kB / 0.5216 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.3766, allocations: 0 / 0.5216 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.3766, allocations: 15.97 kB / 0.5216 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3766, allocations: 8 kB / 0.5216 GB, free: 4.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000593/0.3772, allocations: 0.7682 MB / 0.5224 GB, free: 3.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3772, allocations: 0 / 0.5224 GB, free: 3.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000262/0.3775, allocations: 47.94 kB / 0.5224 GB, free: 3.586 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001812/0.3793, allocations: 1.048 MB / 0.5234 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.3795, allocations: 84.03 kB / 0.5235 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3795, allocations: 0 / 0.5235 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.3796, allocations: 35.97 kB / 0.5235 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.3801, allocations: 74.08 kB / 0.5236 GB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.3855, allocations: 4.523 MB / 0.528 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.3862, allocations: 0.8466 MB / 0.5289 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.3863, allocations: 54.94 kB / 0.5289 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.3866, allocations: 143.4 kB / 0.529 GB, free: 12.65 MB / 398.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3866, allocations: 0 / 0.529 GB, free: 12.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.4159, allocations: 9.028 MB / 0.5379 GB, free: 3.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.034/9.45, allocations: 19.84 kB / 0.5379 GB, free: 3.523 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.745437420962844] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.633155398012605 9.648956052 9.275659807 Calling exit ...