Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.001857/0.001857, allocations: 109 kB / 20.48 MB, free: 1.477 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.001678/0.001678, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.42/1.42, allocations: 207.6 MB / 234.5 MB, free: 9.992 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.2254/0.2254, allocations: 44.24 MB / 331.1 MB, free: 9.531 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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.002385/0.002385, allocations: 72.47 kB / 468.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1168, allocations: 61.03 MB / 0.517 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003034/0.1198, allocations: 1.72 MB / 0.5187 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1212, allocations: 0.8284 MB / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.1213, allocations: 3.938 kB / 0.5195 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1216, allocations: 51.81 kB / 0.5195 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1218, allocations: 63.69 kB / 0.5196 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1221, allocations: 79.77 kB / 0.5196 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1222, allocations: 99.69 kB / 0.5197 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.1223, allocations: 20.19 kB / 0.5198 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1224, allocations: 39.8 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.1225, allocations: 31.84 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1225, allocations: 8 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.1226, allocations: 43.91 kB / 0.5199 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.1227, allocations: 31.86 kB / 0.5199 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.1227, allocations: 31.75 kB / 0.5199 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1229, allocations: 119.5 kB / 0.5201 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1229, allocations: 0 / 0.5201 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1229, allocations: 0 / 0.5201 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.123, allocations: 0 / 0.5201 GB, free: 4.102 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005223/0.1235, allocations: 349.5 kB / 0.5204 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1235, allocations: 15.97 kB / 0.5204 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.259e-05/0.1235, allocations: 8.188 kB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.1236, allocations: 34.73 kB / 0.5204 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1236, allocations: 12.84 kB / 0.5205 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1239, allocations: 158.3 kB / 0.5206 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1239, allocations: 8.125 kB / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1239, allocations: 0 / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1241, allocations: 53.67 kB / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1241, allocations: 4 kB / 0.5207 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.1241, allocations: 4 kB / 0.5207 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.1241, allocations: 0 / 0.5207 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.1241, allocations: 23.92 kB / 0.5207 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.1245, allocations: 256 kB / 0.5209 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1246, allocations: 54.67 kB / 0.521 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.1247, allocations: 24.84 kB / 0.521 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1247, allocations: 0 / 0.521 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1249, allocations: 71.33 kB / 0.5211 GB, free: 2.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1249, allocations: 0 / 0.5211 GB, free: 2.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005161/0.1254, allocations: 181.3 kB / 0.5213 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1254, allocations: 51.41 kB / 0.5213 GB, free: 2.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1257, allocations: 238.6 kB / 0.5215 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1257, allocations: 29.7 kB / 0.5216 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1258, allocations: 100.1 kB / 0.5217 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.1258, allocations: 27.78 kB / 0.5217 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1258, allocations: 21.72 kB / 0.5217 GB, free: 2.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.126, allocations: 330.8 kB / 0.522 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.126, allocations: 16 kB / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.1261, allocations: 41.7 kB / 0.5221 GB, free: 1.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1262, allocations: 62.02 kB / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1262, allocations: 0 / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001892/0.1264, allocations: 101.6 kB / 0.5222 GB, free: 1.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1264, allocations: 11.94 kB / 0.5222 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1265, allocations: 4 kB / 0.5222 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1265, allocations: 3.984 kB / 0.5223 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.1266, allocations: 12 kB / 0.5223 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1266, allocations: 11.97 kB / 0.5223 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.1266, allocations: 0 / 0.5223 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1266, allocations: 4 kB / 0.5223 GB, free: 1.609 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 (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.0001167/0.1267, allocations: 129.8 kB / 0.5224 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.1268, allocations: 7.953 kB / 0.5224 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.127, allocations: 131 kB / 0.5225 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.127, allocations: 0 / 0.5225 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.127, allocations: 3.938 kB / 0.5225 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.127, allocations: 7.984 kB / 0.5225 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.1275, allocations: 366.4 kB / 0.5229 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1275, allocations: 0 / 0.5229 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.1275, allocations: 8 kB / 0.5229 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1275, allocations: 3.938 kB / 0.5229 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1275, allocations: 0 / 0.5229 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1275, allocations: 4 kB / 0.5229 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1275, allocations: 0 / 0.5229 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1278, allocations: 212.2 kB / 0.5231 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.1278, allocations: 11.89 kB / 0.5231 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1278, allocations: 0 / 0.5231 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.1279, allocations: 11.98 kB / 0.5231 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.1279, allocations: 7.984 kB / 0.5231 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1279, allocations: 8.125 kB / 0.5232 GB, free: 0.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1281, allocations: 176.3 kB / 0.5233 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1281, allocations: 3.938 kB / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1283, allocations: 20 kB / 0.5233 GB, free: 440 kB / 398.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.002164/0.1305, allocations: 1.093 MB / 0.5244 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1307, allocations: 55.91 kB / 0.5245 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1307, allocations: 0 / 0.5245 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.1308, allocations: 27.98 kB / 0.5245 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1311, allocations: 36.41 kB / 0.5245 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.133, allocations: 1.718 MB / 0.5262 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1334, allocations: 0.7118 MB / 0.5269 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.1334, allocations: 16.97 kB / 0.5269 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.1335, allocations: 39.42 kB / 0.527 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1335, allocations: 0 / 0.527 GB, free: 12.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.1566, allocations: 3.742 MB / 0.5306 GB, free: 8.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.56, allocations: 12.91 kB / 0.5306 GB, free: 8.797 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.7486943359836] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.7769092519884 11.99224699 11.866250311 Calling exit ...