Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.91 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 75.88 kB / 0.4917 GB, free: 26.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1035, allocations: 66.03 MB / 0.5562 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003366/0.1069, allocations: 1.735 MB / 0.5579 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1087, allocations: 1.038 MB / 0.5589 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.1088, allocations: 4 kB / 0.5589 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1091, allocations: 47.7 kB / 0.559 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.1094, allocations: 91.61 kB / 0.5591 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1096, allocations: 75.66 kB / 0.5591 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1098, allocations: 103.7 kB / 0.5592 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.1099, allocations: 16.25 kB / 0.5593 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.11, allocations: 47.73 kB / 0.5593 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.1101, allocations: 31.84 kB / 0.5593 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1101, allocations: 4 kB / 0.5593 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1102, allocations: 47.97 kB / 0.5594 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.1103, allocations: 23.92 kB / 0.5594 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.1103, allocations: 35.69 kB / 0.5594 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1106, allocations: 115.4 kB / 0.5596 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1106, allocations: 0 / 0.5596 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1106, allocations: 7.938 kB / 0.5596 GB, free: 5.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1106, allocations: 0 / 0.5596 GB, free: 5.156 MB / 414.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.0005964/0.1112, allocations: 426.6 kB / 0.56 GB, free: 4.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1112, allocations: 12.03 kB / 0.56 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.304e-05/0.1112, allocations: 192 / 0.56 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1113, allocations: 38.73 kB / 0.56 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1113, allocations: 8.891 kB / 0.56 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1116, allocations: 216.8 kB / 0.5602 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1117, allocations: 8.375 kB / 0.5602 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1117, allocations: 384 / 0.5602 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1119, allocations: 61.61 kB / 0.5603 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1119, allocations: 4 kB / 0.5603 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1119, allocations: 0 / 0.5603 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1119, allocations: 0 / 0.5603 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.112, allocations: 19.98 kB / 0.5603 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.1124, allocations: 280.9 kB / 0.5606 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1126, allocations: 62.61 kB / 0.5607 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1126, allocations: 20.86 kB / 0.5607 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1127, allocations: 4 kB / 0.5607 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.1128, allocations: 63.38 kB / 0.5607 GB, free: 3.781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1128, allocations: 0 / 0.5607 GB, free: 3.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005823/0.1134, allocations: 185.2 kB / 0.5609 GB, free: 3.594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1135, allocations: 59.41 kB / 0.561 GB, free: 3.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1137, allocations: 194.4 kB / 0.5612 GB, free: 3.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1137, allocations: 29.7 kB / 0.5612 GB, free: 3.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.1138, allocations: 100.1 kB / 0.5613 GB, free: 3.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1138, allocations: 23.84 kB / 0.5613 GB, free: 3.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1139, allocations: 17.72 kB / 0.5613 GB, free: 3.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.114, allocations: 334.7 kB / 0.5616 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.1141, allocations: 23.98 kB / 0.5617 GB, free: 2.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.1142, allocations: 33.7 kB / 0.5617 GB, free: 2.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1143, allocations: 65.77 kB / 0.5618 GB, free: 2.672 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1143, allocations: 0 / 0.5618 GB, free: 2.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002132/0.1145, allocations: 105.5 kB / 0.5619 GB, free: 2.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1145, allocations: 8.188 kB / 0.5619 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1145, allocations: 0 / 0.5619 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1145, allocations: 11.95 kB / 0.5619 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.1146, allocations: 15.98 kB / 0.5619 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1146, allocations: 4 kB / 0.5619 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.1147, allocations: 3.938 kB / 0.5619 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1147, allocations: 7.938 kB / 0.5619 GB, free: 2.512 MB / 414.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.0001131/0.1148, allocations: 127.2 kB / 0.562 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.1148, allocations: 15.91 kB / 0.562 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.1149, allocations: 13.41 kB / 0.5621 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1149, allocations: 4 kB / 0.5621 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1149, allocations: 0 / 0.5621 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1149, allocations: 3.984 kB / 0.5621 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.1154, allocations: 395.2 kB / 0.5624 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1154, allocations: 0 / 0.5624 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.1154, allocations: 8 kB / 0.5624 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1154, allocations: 4 kB / 0.5624 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1154, allocations: 8.297 kB / 0.5625 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1154, allocations: 0 / 0.5625 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1154, allocations: 4.031 kB / 0.5625 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1157, allocations: 216.2 kB / 0.5627 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.1158, allocations: 85.02 kB / 0.5627 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.1158, allocations: 7.938 kB / 0.5628 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.1159, allocations: 7.984 kB / 0.5628 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1159, allocations: 4 kB / 0.5628 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1159, allocations: 8 kB / 0.5628 GB, free: 1.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.116, allocations: 148.2 kB / 0.5629 GB, free: 1.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.116, allocations: 0 / 0.5629 GB, free: 1.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1163, allocations: 20 kB / 0.5629 GB, free: 1.344 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 (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.002289/0.1186, allocations: 1.095 MB / 0.564 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.1188, allocations: 59.89 kB / 0.5641 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1188, allocations: 64 / 0.5641 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.1189, allocations: 28 kB / 0.5641 GB, free: 308 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.1193, allocations: 34.62 kB / 0.5641 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1216, allocations: 1.657 MB / 0.5657 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1219, allocations: 0.708 MB / 0.5664 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.786e-05/0.122, allocations: 13.19 kB / 0.5664 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.1221, allocations: 35.42 kB / 0.5665 GB, free: 13.74 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1221, allocations: 0 / 0.5665 GB, free: 13.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.1413, allocations: 3.511 MB / 0.5699 GB, free: 10.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.12, allocations: 8 kB / 0.5699 GB, free: 10.29 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.015202236012556] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.297783024958335 8.313730704 8.200227963 Calling exit ...