Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00145/0.00145, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001528/0.001528, allocations: 212.2 kB / 24.52 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2496/0.2496, allocations: 44.92 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.003046/0.003046, allocations: 71.84 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.509, allocations: 65.48 MB / 0.5579 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00343/0.5125, allocations: 1.832 MB / 0.5596 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.5145, allocations: 1.12 MB / 0.5607 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.5146, allocations: 4 kB / 0.5607 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.5151, allocations: 311.2 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.5157, allocations: 259.2 kB / 0.5613 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.5159, allocations: 111.7 kB / 0.5614 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.5163, allocations: 267.2 kB / 0.5616 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.757e-05/0.5163, allocations: 5.812 kB / 0.5616 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.5166, allocations: 139.5 kB / 0.5618 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.5168, allocations: 215.5 kB / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.5169, allocations: 8 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.517, allocations: 51.86 kB / 0.562 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.5172, allocations: 143.6 kB / 0.5622 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.5173, allocations: 150.8 kB / 0.5623 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.5179, allocations: 380.1 kB / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.5179, allocations: 0 / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5179, allocations: 0 / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.5179, allocations: 3.938 kB / 0.5627 GB, free: 2.762 MB / 398.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.001145/0.519, allocations: 0.6824 MB / 0.5634 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5191, allocations: 12.03 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.804e-05/0.5191, allocations: 192 / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.5191, allocations: 46.73 kB / 0.5634 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.5192, allocations: 48.61 kB / 0.5635 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.5199, allocations: 398.5 kB / 0.5638 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.5199, allocations: 12.05 kB / 0.5639 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.5199, allocations: 8 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.5202, allocations: 79.38 kB / 0.5639 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.5202, allocations: 0 / 0.5639 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.5202, allocations: 11.98 kB / 0.5639 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5202, allocations: 4 kB / 0.564 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5203, allocations: 23.98 kB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.5208, allocations: 357.4 kB / 0.5643 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.521, allocations: 105.2 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.5211, allocations: 41.69 kB / 0.5645 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.5212, allocations: 0 / 0.5645 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.5214, allocations: 105 kB / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.5214, allocations: 4 kB / 0.5646 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004954/0.5219, allocations: 201.2 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.522, allocations: 81.11 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.5231, allocations: 1.05 MB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5232, allocations: 29.7 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.5234, allocations: 240.1 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.5234, allocations: 27.8 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.5235, allocations: 29.72 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.5236, allocations: 370.8 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.5237, allocations: 35.92 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.5238, allocations: 55.42 kB / 0.5666 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.524, allocations: 107.7 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.524, allocations: 0 / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003012/0.5243, allocations: 169.2 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.5244, allocations: 8 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5244, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5244, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5245, allocations: 23.98 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5245, allocations: 4 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/0.5246, allocations: 19.92 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.5246, allocations: 4 kB / 0.5669 GB, free: 14.16 MB / 414.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.000239/0.5249, allocations: 225.7 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.5249, allocations: 55.62 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.5254, allocations: 193.8 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.5254, allocations: 4 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5254, allocations: 0 / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5254, allocations: 4 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.5257, allocations: 324.5 kB / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5257, allocations: 0 / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.5257, allocations: 12.23 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5257, allocations: 4 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5258, allocations: 4 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5258, allocations: 3.938 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5258, allocations: 4 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.5261, allocations: 221.4 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5262, allocations: 67.59 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.5263, allocations: 4 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.5264, allocations: 4 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.5264, allocations: 11.98 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.5264, allocations: 7.984 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008228/0.5272, allocations: 0.78 MB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5272, allocations: 4 kB / 0.5688 GB, free: 12.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.5275, allocations: 48 kB / 0.5688 GB, free: 12.12 MB / 414.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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002077/0.5296, allocations: 1.063 MB / 0.5699 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.5299, allocations: 83.91 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5299, allocations: 0 / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.53, allocations: 43.91 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.5304, allocations: 80.8 kB / 0.5701 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.5366, allocations: 4.571 MB / 0.5745 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.5372, allocations: 0.8507 MB / 0.5754 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.5373, allocations: 54.94 kB / 0.5754 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.5376, allocations: 155.4 kB / 0.5756 GB, free: 5.234 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5376, allocations: 11.94 kB / 0.5756 GB, free: 5.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.5701, allocations: 9.407 MB / 0.5848 GB, free: 11.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.6, allocations: 4.062 kB / 0.5848 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.801144391996786] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.81870786799118 12.840793646 12.31856118 Calling exit ...