Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.00133/0.00133, allocations: 122.2 kB / 17.84 MB, free: 5.242 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.001386/0.001386, allocations: 199.8 kB / 20.79 MB, free: 2.305 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.803/1.803, allocations: 207.6 MB / 231.2 MB, free: 4.125 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.4673/0.4673, allocations: 44.23 MB / 327.3 MB, free: 6.723 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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.002216/0.002216, allocations: 71.89 kB / 463 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3925, allocations: 61 MB / 0.5117 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003526/0.3961, allocations: 1.799 MB / 0.5135 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3974, allocations: 0.8853 MB / 0.5143 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.3975, allocations: 5.188 kB / 0.5143 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.3981, allocations: 308.3 kB / 0.5146 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.3984, allocations: 216.3 kB / 0.5148 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3988, allocations: 141.2 kB / 0.515 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.3991, allocations: 247.9 kB / 0.5152 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.3991, allocations: 17.72 kB / 0.5152 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.3993, allocations: 137.8 kB / 0.5153 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3996, allocations: 210.6 kB / 0.5155 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.3996, allocations: 7.062 kB / 0.5156 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3997, allocations: 40.48 kB / 0.5156 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.3999, allocations: 143 kB / 0.5157 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.4, allocations: 141 kB / 0.5159 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.4004, allocations: 369.2 kB / 0.5162 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4004, allocations: 3.984 kB / 0.5162 GB, free: 9.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4004, allocations: 0 / 0.5162 GB, free: 9.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.4004, allocations: 9.312 kB / 0.5162 GB, free: 9.984 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.0008618/0.4013, allocations: 0.7396 MB / 0.5169 GB, free: 9.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4013, allocations: 13.48 kB / 0.517 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/0.4013, allocations: 5.547 kB / 0.517 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.4014, allocations: 36.11 kB / 0.517 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.4014, allocations: 50.61 kB / 0.517 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.402, allocations: 458.8 kB / 0.5175 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.402, allocations: 9.344 kB / 0.5175 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.4021, allocations: 6.828 kB / 0.5175 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4023, allocations: 87.7 kB / 0.5176 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4023, allocations: 1.406 kB / 0.5176 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4023, allocations: 0 / 0.5176 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4023, allocations: 1.5 kB / 0.5176 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.4024, allocations: 32.08 kB / 0.5176 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.4027, allocations: 381 kB / 0.518 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.403, allocations: 105.1 kB / 0.5181 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.4031, allocations: 33.7 kB / 0.5181 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4031, allocations: 7.984 kB / 0.5181 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.4033, allocations: 105 kB / 0.5182 GB, free: 8.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.4033, allocations: 0 / 0.5182 GB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004391/0.4037, allocations: 205.6 kB / 0.5184 GB, free: 7.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.4038, allocations: 85.11 kB / 0.5185 GB, free: 7.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000759/0.4045, allocations: 1.038 MB / 0.5195 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4045, allocations: 25.7 kB / 0.5195 GB, free: 6.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4047, allocations: 232.1 kB / 0.5198 GB, free: 6.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.4047, allocations: 31.72 kB / 0.5198 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.4048, allocations: 29.7 kB / 0.5198 GB, free: 6.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.4048, allocations: 366.8 kB / 0.5202 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.4049, allocations: 27.98 kB / 0.5202 GB, free: 5.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.405, allocations: 59.42 kB / 0.5202 GB, free: 5.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.4052, allocations: 91.28 kB / 0.5203 GB, free: 5.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4052, allocations: 0 / 0.5203 GB, free: 5.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002472/0.4054, allocations: 177.2 kB / 0.5205 GB, free: 5.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4054, allocations: 4 kB / 0.5205 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4054, allocations: 3.984 kB / 0.5205 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4054, allocations: 4 kB / 0.5205 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4056, allocations: 20 kB / 0.5205 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4056, allocations: 7.984 kB / 0.5205 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.4057, allocations: 4 kB / 0.5205 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4057, allocations: 4 kB / 0.5206 GB, free: 5.59 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.0001592/0.4058, allocations: 237.6 kB / 0.5208 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.4059, allocations: 47.67 kB / 0.5208 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.4059, allocations: 60 kB / 0.5209 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4059, allocations: 0 / 0.5209 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4059, allocations: 256 / 0.5209 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.406, allocations: 4 kB / 0.5209 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.4062, allocations: 349.3 kB / 0.5212 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4062, allocations: 4 kB / 0.5212 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.4062, allocations: 4 kB / 0.5212 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4062, allocations: 3.938 kB / 0.5212 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4062, allocations: 8 kB / 0.5212 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4062, allocations: 3.984 kB / 0.5212 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4062, allocations: 0 / 0.5212 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.4065, allocations: 205.5 kB / 0.5214 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.4066, allocations: 144.8 kB / 0.5216 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.4066, allocations: 0 / 0.5216 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.4067, allocations: 15.98 kB / 0.5216 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.4068, allocations: 4 kB / 0.5216 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.4068, allocations: 7.984 kB / 0.5216 GB, free: 4.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005622/0.4073, allocations: 0.7721 MB / 0.5224 GB, free: 3.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4073, allocations: 0 / 0.5224 GB, free: 3.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.4076, allocations: 48.02 kB / 0.5224 GB, free: 3.598 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.00184/0.4094, allocations: 1.047 MB / 0.5234 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.4097, allocations: 83.89 kB / 0.5235 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4097, allocations: 0 / 0.5235 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/0.4098, allocations: 39.86 kB / 0.5235 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.4102, allocations: 70.33 kB / 0.5236 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.4155, allocations: 4.523 MB / 0.528 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.416, allocations: 0.8426 MB / 0.5288 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.4162, allocations: 63.44 kB / 0.5289 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.4164, allocations: 143.4 kB / 0.529 GB, free: 12.65 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4164, allocations: 0 / 0.529 GB, free: 12.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.4462, allocations: 9.016 MB / 0.5379 GB, free: 3.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.425, allocations: 15.78 kB / 0.5379 GB, free: 3.543 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.85119528695941] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.607783455983736 9.621927292 9.218681121 Calling exit ...