Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.001379/0.001379, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001422/0.001422, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.486/1.486, allocations: 207.7 MB / 234.6 MB, free: 9.773 MB / 190.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.2146/0.2146, allocations: 44.26 MB / 331.1 MB, free: 9.297 MB / 270.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.002143/0.002143, allocations: 72.47 kB / 468.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.108, allocations: 61.05 MB / 0.517 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00317/0.1111, allocations: 1.682 MB / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1125, allocations: 0.7739 MB / 0.5194 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.1125, allocations: 8 kB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1128, allocations: 103.7 kB / 0.5195 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1131, allocations: 87.64 kB / 0.5196 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1133, allocations: 91.77 kB / 0.5197 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1135, allocations: 115.7 kB / 0.5198 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1136, allocations: 20.16 kB / 0.5198 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1137, allocations: 59.77 kB / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1138, allocations: 75.72 kB / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1139, allocations: 4 kB / 0.5199 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.114, allocations: 43.98 kB / 0.52 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.1141, allocations: 23.92 kB / 0.52 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.1141, allocations: 35.73 kB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1144, allocations: 135.4 kB / 0.5201 GB, free: 3.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1144, allocations: 3.938 kB / 0.5201 GB, free: 3.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1144, allocations: 0 / 0.5201 GB, free: 3.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1144, allocations: 4 kB / 0.5202 GB, free: 3.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005736/0.1149, allocations: 365.5 kB / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.115, allocations: 8.031 kB / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.801e-05/0.115, allocations: 4.125 kB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.115, allocations: 34.75 kB / 0.5205 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1151, allocations: 16.83 kB / 0.5206 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1154, allocations: 166 kB / 0.5207 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1154, allocations: 4.125 kB / 0.5207 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1154, allocations: 11.95 kB / 0.5207 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1156, allocations: 69.58 kB / 0.5208 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1156, allocations: 4 kB / 0.5208 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1156, allocations: 0 / 0.5208 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1156, allocations: 4 kB / 0.5208 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1157, allocations: 31.97 kB / 0.5208 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.1162, allocations: 275.8 kB / 0.5211 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1164, allocations: 74.61 kB / 0.5212 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.1165, allocations: 24.84 kB / 0.5212 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1165, allocations: 0 / 0.5212 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.1167, allocations: 83.38 kB / 0.5213 GB, free: 2.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1167, allocations: 0 / 0.5213 GB, free: 2.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006316/0.1173, allocations: 213.3 kB / 0.5215 GB, free: 2.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1174, allocations: 55.41 kB / 0.5215 GB, free: 2.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1176, allocations: 254.5 kB / 0.5218 GB, free: 2.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1176, allocations: 29.7 kB / 0.5218 GB, free: 1.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.1177, allocations: 112.1 kB / 0.5219 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.1178, allocations: 31.81 kB / 0.5219 GB, free: 1.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1178, allocations: 29.64 kB / 0.522 GB, free: 1.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.118, allocations: 326.8 kB / 0.5223 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.1181, allocations: 32.08 kB / 0.5223 GB, free: 1.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.1181, allocations: 45.64 kB / 0.5224 GB, free: 1.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1183, allocations: 77.69 kB / 0.5224 GB, free: 1.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1183, allocations: 3.938 kB / 0.5224 GB, free: 1.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002385/0.1185, allocations: 125.5 kB / 0.5226 GB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1185, allocations: 4 kB / 0.5226 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1185, allocations: 0 / 0.5226 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1186, allocations: 4 kB / 0.5226 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1187, allocations: 24.02 kB / 0.5226 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1187, allocations: 7.938 kB / 0.5226 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.1187, allocations: 0 / 0.5226 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1187, allocations: 4 kB / 0.5226 GB, free: 1.121 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001223/0.1189, allocations: 133.8 kB / 0.5227 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1189, allocations: 11.91 kB / 0.5227 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.1192, allocations: 147.2 kB / 0.5229 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1192, allocations: 4 kB / 0.5229 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1192, allocations: 3.938 kB / 0.5229 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1192, allocations: 0 / 0.5229 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.1198, allocations: 402.4 kB / 0.5233 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1198, allocations: 7.938 kB / 0.5233 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.1198, allocations: 15.94 kB / 0.5233 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.1199, allocations: 4.125 kB / 0.5233 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1199, allocations: 0 / 0.5233 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1199, allocations: 11.92 kB / 0.5233 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1199, allocations: 0 / 0.5233 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.1202, allocations: 236.3 kB / 0.5235 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.1202, allocations: 19.83 kB / 0.5235 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.1202, allocations: 8.031 kB / 0.5236 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.248e-05/0.1203, allocations: 4 kB / 0.5236 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1203, allocations: 11.92 kB / 0.5236 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1204, allocations: 4 kB / 0.5236 GB, free: 28 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.1206, allocations: 200 kB / 0.5238 GB, free: 15.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1206, allocations: 0 / 0.5238 GB, free: 15.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1208, allocations: 31.92 kB / 0.5238 GB, free: 15.8 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: 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 (11): * Single equations (assignments): 9 * 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.002422/0.1233, allocations: 1.157 MB / 0.5249 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1235, allocations: 79.84 kB / 0.525 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1235, allocations: 0 / 0.525 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.1236, allocations: 40.16 kB / 0.525 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1239, allocations: 39.66 kB / 0.5251 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1261, allocations: 1.854 MB / 0.5269 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.1262, allocations: 101.8 kB / 0.527 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.1262, allocations: 20.95 kB / 0.527 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.206e-05/0.1263, allocations: 43.42 kB / 0.527 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1263, allocations: 8 kB / 0.5271 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.1531, allocations: 4.21 MB / 0.5312 GB, free: 8.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.93, allocations: 4.062 kB / 0.5312 GB, free: 8.047 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.173819056944922] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y'] 12.150655798031949 12.359276043 12.242220359 Calling exit ...