Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001376/0.001376, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001497/0.001497, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 46.92 MB / 357.8 MB, free: 10.39 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test89,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 0.4917 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1268, allocations: 65.99 MB / 0.5561 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.00313/0.13, allocations: 1.736 MB / 0.5578 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1324, allocations: 1.641 MB / 0.5594 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.1324, allocations: 4 kB / 0.5594 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1327, allocations: 35.77 kB / 0.5595 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.133, allocations: 103.5 kB / 0.5596 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.1332, allocations: 79.66 kB / 0.5597 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1334, allocations: 111.7 kB / 0.5598 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.1335, allocations: 8 kB / 0.5598 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/0.1336, allocations: 51.77 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1337, allocations: 45.17 kB / 0.5599 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1338, allocations: 8 kB / 0.5599 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.134, allocations: 107.9 kB / 0.56 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.134, allocations: 23.86 kB / 0.56 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.134, allocations: 27.75 kB / 0.56 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1343, allocations: 171.4 kB / 0.5602 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1343, allocations: 4 kB / 0.5602 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.1343, allocations: 8 kB / 0.5602 GB, free: 1.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1343, allocations: 0 / 0.5602 GB, free: 1.648 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.0005975/0.1349, allocations: 422.6 kB / 0.5606 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.135, allocations: 15.97 kB / 0.5606 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.863e-05/0.135, allocations: 4.125 kB / 0.5606 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.135, allocations: 34.75 kB / 0.5606 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.1351, allocations: 16.84 kB / 0.5607 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.1354, allocations: 213.6 kB / 0.5609 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1354, allocations: 8 kB / 0.5609 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1354, allocations: 3.984 kB / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1356, allocations: 71.39 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1356, allocations: 0 / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1356, allocations: 3.938 kB / 0.561 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1356, allocations: 4 kB / 0.561 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.1357, allocations: 19.92 kB / 0.561 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.1361, allocations: 284.9 kB / 0.5612 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1363, allocations: 58.67 kB / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.1363, allocations: 20.84 kB / 0.5613 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1364, allocations: 3.938 kB / 0.5613 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.1365, allocations: 71.39 kB / 0.5614 GB, free: 244 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1365, allocations: 0 / 0.5614 GB, free: 244 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005549/0.1371, allocations: 177.3 kB / 0.5616 GB, free: 60 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.1371, allocations: 85.09 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1373, allocations: 165.9 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1373, allocations: 25.7 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.1374, allocations: 96.14 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.1374, allocations: 31.73 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.1375, allocations: 25.72 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1376, allocations: 322.8 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.1377, allocations: 23.98 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.1378, allocations: 38.56 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1379, allocations: 61.64 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1379, allocations: 4.031 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.1381, allocations: 97.58 kB / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1381, allocations: 4 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1381, allocations: 4 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1381, allocations: 3.938 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.1382, allocations: 20.3 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1382, allocations: 0 / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.1383, allocations: 4 kB / 0.5625 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1383, allocations: 12 kB / 0.5625 GB, free: 14.98 MB / 430.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.0001002/0.1384, allocations: 124 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.1384, allocations: 11.95 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.1384, allocations: 12.72 kB / 0.5627 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1384, allocations: 3.938 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1384, allocations: 0 / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1384, allocations: 3.938 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.1389, allocations: 395.3 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1389, allocations: 12.2 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.139, allocations: 7.938 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.139, allocations: 11.92 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.139, allocations: 4 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.139, allocations: 0 / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.139, allocations: 4 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1392, allocations: 200.5 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.1393, allocations: 97.05 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1393, allocations: 4 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.1394, allocations: 0 / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1394, allocations: 11.92 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.1394, allocations: 8 kB / 0.5634 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1395, allocations: 119.2 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1395, allocations: 0 / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.1399, allocations: 51.86 kB / 0.5636 GB, free: 13.82 MB / 430.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.00244/0.1423, allocations: 1.184 MB / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1425, allocations: 67.89 kB / 0.5648 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1425, allocations: 0 / 0.5648 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.1426, allocations: 23.94 kB / 0.5648 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.143, allocations: 35.02 kB / 0.5649 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1449, allocations: 1.596 MB / 0.5664 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1453, allocations: 0.6973 MB / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.427e-05/0.1453, allocations: 17.19 kB / 0.5671 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.1454, allocations: 31.42 kB / 0.5671 GB, free: 10.24 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1454, allocations: 0 / 0.5671 GB, free: 10.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.1673, allocations: 4.095 MB / 0.5711 GB, free: 6.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/8.745, allocations: 14.5 kB / 0.5712 GB, free: 6.148 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.766284652985632] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.926741511037108 8.943026017 8.805605849 Calling exit ...