Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001313/0.001313, 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.001339/0.001339, 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2396/0.2396, allocations: 46.93 MB / 357.8 MB, free: 10.37 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.Test56,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.89 kB / 0.4917 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1416, allocations: 66 MB / 0.5562 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003836/0.1454, allocations: 1.739 MB / 0.5579 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.1482, allocations: 1.638 MB / 0.5595 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1483, allocations: 3.938 kB / 0.5595 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.1487, allocations: 31.77 kB / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.1491, allocations: 99.59 kB / 0.5596 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1494, allocations: 79.67 kB / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1496, allocations: 115.6 kB / 0.5598 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1497, allocations: 12 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1498, allocations: 47.78 kB / 0.5598 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.15, allocations: 43.83 kB / 0.5599 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.15, allocations: 4 kB / 0.5599 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.1503, allocations: 115.8 kB / 0.56 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.1503, allocations: 12 kB / 0.56 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.1504, allocations: 39.72 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.1507, allocations: 175.3 kB / 0.5602 GB, free: 1.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1507, allocations: 0 / 0.5602 GB, free: 1.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1507, allocations: 4 kB / 0.5602 GB, free: 1.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1508, allocations: 0 / 0.5602 GB, free: 1.602 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.0006879/0.1514, allocations: 430.6 kB / 0.5606 GB, free: 1.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1515, allocations: 8.031 kB / 0.5606 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.372e-05/0.1515, allocations: 192 / 0.5606 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.1515, allocations: 38.75 kB / 0.5607 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.1516, allocations: 12.84 kB / 0.5607 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.152, allocations: 212.3 kB / 0.5609 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.152, allocations: 4 kB / 0.5609 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.152, allocations: 4 kB / 0.5609 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1522, allocations: 71.33 kB / 0.5609 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1522, allocations: 3.938 kB / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1522, allocations: 11.98 kB / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1522, allocations: 0 / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.1523, allocations: 15.98 kB / 0.561 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.1528, allocations: 288.9 kB / 0.5613 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.153, allocations: 58.61 kB / 0.5613 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.153, allocations: 12.86 kB / 0.5613 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1531, allocations: 4 kB / 0.5613 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.1532, allocations: 79.36 kB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1532, allocations: 0 / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006063/0.1539, allocations: 177.3 kB / 0.5616 GB, free: 12 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.1539, allocations: 77.11 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1541, allocations: 161.5 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1541, allocations: 33.7 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.1542, allocations: 96.12 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.1542, allocations: 31.73 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.1543, allocations: 25.72 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1544, allocations: 322.8 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.1545, allocations: 23.92 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.1546, allocations: 42.56 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1547, allocations: 53.72 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1547, allocations: 4.031 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00021/0.1549, allocations: 105.5 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1549, allocations: 8 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1549, allocations: 3.938 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.155, allocations: 3.938 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.155, allocations: 15.98 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.155, allocations: 4 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.1551, allocations: 0 / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1551, allocations: 4 kB / 0.5625 GB, free: 14.94 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.000118/0.1552, allocations: 132 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1553, allocations: 7.953 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.1553, allocations: 16.7 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1553, allocations: 3.938 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1553, allocations: 384 / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1553, allocations: 0 / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.1558, allocations: 407.4 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1558, allocations: 4.031 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.1559, allocations: 15.92 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1559, allocations: 3.984 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.1559, allocations: 0 / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1559, allocations: 4 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1559, allocations: 0 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1561, allocations: 208.4 kB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.1562, allocations: 85.06 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.1562, allocations: 11.98 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.1563, allocations: 0 / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1563, allocations: 4 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1564, allocations: 7.984 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1565, allocations: 123.2 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1565, allocations: 0 / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.1568, allocations: 51.86 kB / 0.5636 GB, free: 13.77 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.002474/0.1593, allocations: 1.189 MB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1595, allocations: 55.92 kB / 0.5648 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.1595, allocations: 4 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.1596, allocations: 23.98 kB / 0.5648 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1599, allocations: 30.64 kB / 0.5648 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1619, allocations: 1.596 MB / 0.5664 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1623, allocations: 0.6973 MB / 0.5671 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.927e-05/0.1623, allocations: 17.19 kB / 0.5671 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.1624, allocations: 35.42 kB / 0.5671 GB, free: 10.2 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1624, allocations: 0 / 0.5671 GB, free: 10.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.1856, allocations: 4.094 MB / 0.5711 GB, free: 6.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.55, allocations: 11.94 kB / 0.5711 GB, free: 6.109 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.560063417011406] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.73527850402752 8.757812825 8.602808887 Calling exit ...