Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001769/0.001769, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001601/0.001601, allocations: 213.8 kB / 23.77 MB, free: 4.551 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.445/1.445, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2182/0.2182, allocations: 44.26 MB / 331.1 MB, free: 9.312 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.00261/0.00261, allocations: 67.89 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1265, allocations: 61.05 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.0047/0.1312, allocations: 1.678 MB / 0.5186 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1328, allocations: 0.7778 MB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1329, allocations: 4 kB / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.1333, allocations: 87.67 kB / 0.5195 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1336, allocations: 75.73 kB / 0.5195 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1339, allocations: 95.75 kB / 0.5196 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.1342, allocations: 107.6 kB / 0.5197 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1344, allocations: 8.219 kB / 0.5197 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.1345, allocations: 51.77 kB / 0.5198 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1347, allocations: 63.8 kB / 0.5198 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1347, allocations: 4 kB / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1348, allocations: 40 kB / 0.5199 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.1349, allocations: 23.91 kB / 0.5199 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.135, allocations: 31.73 kB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1353, allocations: 115.6 kB / 0.52 GB, free: 3.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.1353, allocations: 7.938 kB / 0.5201 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1353, allocations: 3.938 kB / 0.5201 GB, free: 3.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1353, allocations: 0 / 0.5201 GB, free: 3.941 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.0007701/0.1361, allocations: 341.6 kB / 0.5204 GB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.1361, allocations: 12.03 kB / 0.5204 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.574e-05/0.1362, allocations: 4.188 kB / 0.5204 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.1362, allocations: 34.75 kB / 0.5204 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.1363, allocations: 20.83 kB / 0.5205 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.1367, allocations: 147.3 kB / 0.5206 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1367, allocations: 12.12 kB / 0.5206 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1367, allocations: 4 kB / 0.5206 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1369, allocations: 53.67 kB / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1369, allocations: 0 / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1369, allocations: 0 / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1369, allocations: 0 / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.137, allocations: 19.98 kB / 0.5207 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.1375, allocations: 263.9 kB / 0.5209 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1378, allocations: 58.61 kB / 0.521 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.1378, allocations: 24.84 kB / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1379, allocations: 4 kB / 0.521 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.138, allocations: 63.39 kB / 0.5211 GB, free: 2.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.138, allocations: 0 / 0.5211 GB, free: 2.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007134/0.1388, allocations: 189.3 kB / 0.5213 GB, free: 2.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1388, allocations: 55.41 kB / 0.5213 GB, free: 2.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1391, allocations: 222.2 kB / 0.5215 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1391, allocations: 33.64 kB / 0.5216 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.1392, allocations: 100.1 kB / 0.5216 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.1392, allocations: 27.8 kB / 0.5217 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.1393, allocations: 29.7 kB / 0.5217 GB, free: 2.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1395, allocations: 326.8 kB / 0.522 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.1396, allocations: 20 kB / 0.522 GB, free: 1.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.1396, allocations: 41.69 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1398, allocations: 57.7 kB / 0.5221 GB, free: 1.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1398, allocations: 4 kB / 0.5221 GB, free: 1.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.14, allocations: 101.5 kB / 0.5222 GB, free: 1.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.14, allocations: 8.031 kB / 0.5222 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.14, allocations: 4 kB / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.14, allocations: 192 / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.1401, allocations: 20.36 kB / 0.5223 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1401, allocations: 12.02 kB / 0.5223 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1402, allocations: 7.938 kB / 0.5223 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1402, allocations: 8 kB / 0.5223 GB, free: 1.453 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.0001146/0.1403, allocations: 125.8 kB / 0.5224 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.1403, allocations: 7.953 kB / 0.5224 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.1406, allocations: 131 kB / 0.5225 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1406, allocations: 4 kB / 0.5225 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1406, allocations: 3.938 kB / 0.5225 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1406, allocations: 0 / 0.5225 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.1411, allocations: 366.4 kB / 0.5229 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1411, allocations: 0 / 0.5229 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.1412, allocations: 15.98 kB / 0.5229 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1412, allocations: 3.938 kB / 0.5229 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1412, allocations: 4 kB / 0.5229 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1412, allocations: 4 kB / 0.5229 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1412, allocations: 0 / 0.5229 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.1415, allocations: 220.3 kB / 0.5231 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.1415, allocations: 15.88 kB / 0.5231 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1415, allocations: 4 kB / 0.5232 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.1416, allocations: 4 kB / 0.5232 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1416, allocations: 3.984 kB / 0.5232 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1417, allocations: 4 kB / 0.5232 GB, free: 472 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.1418, allocations: 168.2 kB / 0.5233 GB, free: 304 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1418, allocations: 0 / 0.5233 GB, free: 304 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.1421, allocations: 31.86 kB / 0.5234 GB, free: 272 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 (9): * Single equations (assignments): 7 * 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.002509/0.1446, allocations: 1.133 MB / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1449, allocations: 55.92 kB / 0.5245 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1449, allocations: 0 / 0.5245 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.1449, allocations: 32.05 kB / 0.5245 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1453, allocations: 31.72 kB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1475, allocations: 1.705 MB / 0.5262 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.1476, allocations: 96.73 kB / 0.5263 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1477, allocations: 16.55 kB / 0.5263 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.1477, allocations: 35.42 kB / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1477, allocations: 3.938 kB / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.1717, allocations: 3.85 MB / 0.5301 GB, free: 9.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.74, allocations: 8.062 kB / 0.5302 GB, free: 9.105 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.942005516961217] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.958597422926687 12.238806939 12.100383088 Calling exit ...