Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.001638/0.001638, 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.002187/0.002187, allocations: 207.6 kB / 23.78 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.508/1.508, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2173/0.2173, allocations: 44.23 MB / 331.1 MB, free: 9.605 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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.003454/0.003454, allocations: 75.89 kB / 468.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1321, allocations: 61.04 MB / 0.517 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003207/0.1353, allocations: 1.721 MB / 0.5186 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1368, allocations: 0.8284 MB / 0.5195 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.1368, allocations: 8 kB / 0.5195 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1371, allocations: 43.75 kB / 0.5195 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1374, allocations: 55.77 kB / 0.5196 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1377, allocations: 83.7 kB / 0.5196 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1379, allocations: 99.69 kB / 0.5197 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.138, allocations: 12.22 kB / 0.5197 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1381, allocations: 43.78 kB / 0.5198 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.1382, allocations: 31.84 kB / 0.5198 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1382, allocations: 8 kB / 0.5198 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1383, allocations: 39.92 kB / 0.5199 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.1383, allocations: 19.92 kB / 0.5199 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.1384, allocations: 35.73 kB / 0.5199 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.1386, allocations: 111.6 kB / 0.52 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1386, allocations: 0 / 0.52 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1386, allocations: 0 / 0.52 GB, free: 4.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1386, allocations: 0 / 0.52 GB, free: 4.148 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.0005646/0.1392, allocations: 341.7 kB / 0.5203 GB, free: 3.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1392, allocations: 12.03 kB / 0.5204 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.242e-05/0.1393, allocations: 4.125 kB / 0.5204 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.1393, allocations: 38.69 kB / 0.5204 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1393, allocations: 12.84 kB / 0.5204 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1396, allocations: 150.3 kB / 0.5206 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1396, allocations: 8.125 kB / 0.5206 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1396, allocations: 0 / 0.5206 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1398, allocations: 61.61 kB / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1398, allocations: 0 / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1398, allocations: 4 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.1398, allocations: 0 / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.1399, allocations: 23.92 kB / 0.5207 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1402, allocations: 255.9 kB / 0.5209 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1404, allocations: 50.69 kB / 0.5209 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.1405, allocations: 24.84 kB / 0.521 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1405, allocations: 4 kB / 0.521 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.1406, allocations: 75.28 kB / 0.521 GB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1406, allocations: 0 / 0.521 GB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005353/0.1412, allocations: 173.4 kB / 0.5212 GB, free: 2.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1412, allocations: 51.41 kB / 0.5213 GB, free: 2.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1414, allocations: 202 kB / 0.5214 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1414, allocations: 25.7 kB / 0.5215 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1415, allocations: 96.14 kB / 0.5216 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1415, allocations: 27.78 kB / 0.5216 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.1416, allocations: 25.72 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1417, allocations: 322.8 kB / 0.5219 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.1418, allocations: 23.98 kB / 0.5219 GB, free: 1.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.1419, allocations: 37.7 kB / 0.522 GB, free: 1.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.142, allocations: 57.64 kB / 0.522 GB, free: 1.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.142, allocations: 0 / 0.522 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.1422, allocations: 105.6 kB / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1423, allocations: 4 kB / 0.5221 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1423, allocations: 0 / 0.5221 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1423, allocations: 4 kB / 0.5221 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.1424, allocations: 19.92 kB / 0.5222 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1424, allocations: 11.91 kB / 0.5222 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.1424, allocations: 4 kB / 0.5222 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1424, allocations: 0 / 0.5222 GB, free: 1.73 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.0001476/0.1426, allocations: 129.8 kB / 0.5223 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.1426, allocations: 7.953 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1429, allocations: 114.5 kB / 0.5224 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1429, allocations: 0 / 0.5224 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1429, allocations: 7.938 kB / 0.5224 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1429, allocations: 4.188 kB / 0.5224 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.1434, allocations: 362.4 kB / 0.5228 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1434, allocations: 3.938 kB / 0.5228 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.1434, allocations: 8 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1434, allocations: 7.938 kB / 0.5228 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1434, allocations: 7.984 kB / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1434, allocations: 0 / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1434, allocations: 0 / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.1437, allocations: 200.3 kB / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.1438, allocations: 19.84 kB / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1438, allocations: 4.375 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.1439, allocations: 0 / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1439, allocations: 7.984 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.1439, allocations: 8 kB / 0.523 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1441, allocations: 147.2 kB / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1441, allocations: 0 / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1443, allocations: 23.94 kB / 0.5232 GB, free: 0.5977 MB / 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.002377/0.1467, allocations: 1.098 MB / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1469, allocations: 51.97 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1469, allocations: 0 / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.147, allocations: 31.92 kB / 0.5244 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1473, allocations: 32.03 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1493, allocations: 1.634 MB / 0.526 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.1498, allocations: 0.704 MB / 0.5267 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.1499, allocations: 12.98 kB / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.1499, allocations: 31.42 kB / 0.5267 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1499, allocations: 0 / 0.5267 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.1738, allocations: 3.586 MB / 0.5302 GB, free: 9.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.64, allocations: 9 kB / 0.5302 GB, free: 9.219 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.854392139997799] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.854367359017488 12.05107275 11.908990811 Calling exit ...