Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001286/0.001286, allocations: 116.2 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.001641/0.001641, allocations: 219 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.596/1.596, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2874/0.2874, allocations: 46.92 MB / 357.8 MB, free: 10.35 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 0.4917 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1493, allocations: 66 MB / 0.5562 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003364/0.1526, allocations: 1.752 MB / 0.5579 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1544, allocations: 1.033 MB / 0.5589 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.1544, allocations: 7.938 kB / 0.5589 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1548, allocations: 87.7 kB / 0.559 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1551, allocations: 115.6 kB / 0.5591 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1552, allocations: 83.66 kB / 0.5592 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.1554, allocations: 115.6 kB / 0.5593 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1555, allocations: 19.97 kB / 0.5593 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1556, allocations: 55.77 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1558, allocations: 63.75 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1558, allocations: 4 kB / 0.5594 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1559, allocations: 59.98 kB / 0.5595 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.156, allocations: 31.84 kB / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.156, allocations: 43.67 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1562, allocations: 139.4 kB / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1562, allocations: 0 / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1563, allocations: 0 / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1563, allocations: 0 / 0.5597 GB, free: 2.156 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005981/0.1569, allocations: 442.5 kB / 0.5601 GB, free: 1.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1569, allocations: 8.031 kB / 0.5601 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.335e-05/0.1569, allocations: 4.188 kB / 0.5601 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.157, allocations: 42.73 kB / 0.5601 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.157, allocations: 12.84 kB / 0.5602 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1573, allocations: 216 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1573, allocations: 12.12 kB / 0.5604 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1573, allocations: 7.984 kB / 0.5604 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1575, allocations: 57.66 kB / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1575, allocations: 0 / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1575, allocations: 4 kB / 0.5604 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1575, allocations: 4 kB / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.1576, allocations: 35.89 kB / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.158, allocations: 304.7 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1583, allocations: 50.56 kB / 0.5608 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.1583, allocations: 20.97 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1583, allocations: 8 kB / 0.5608 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.1585, allocations: 71.31 kB / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1585, allocations: 0 / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007811/0.1593, allocations: 245.3 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1593, allocations: 51.41 kB / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1596, allocations: 227.4 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1596, allocations: 29.7 kB / 0.5614 GB, free: 128 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.1597, allocations: 108.1 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.1597, allocations: 35.92 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.1598, allocations: 25.72 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1599, allocations: 322.8 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.16, allocations: 31.98 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.1601, allocations: 45.69 kB / 0.562 GB, free: 15.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1602, allocations: 81.59 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1602, allocations: 0 / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000221/0.1604, allocations: 129.5 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1605, allocations: 8 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1605, allocations: 0 / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1605, allocations: 3.75 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.1606, allocations: 23.98 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1606, allocations: 4 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.1606, allocations: 8.031 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1606, allocations: 4 kB / 0.5622 GB, free: 15.27 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 (13): * Single equations (assignments): 13 * 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.0001118/0.1607, allocations: 132 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1608, allocations: 15.91 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.1608, allocations: 25.27 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1608, allocations: 4 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1608, allocations: 0 / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1608, allocations: 0 / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.1614, allocations: 463.9 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1614, allocations: 4 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.1614, allocations: 15.94 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1614, allocations: 0 / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1615, allocations: 11.98 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1615, allocations: 0 / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1615, allocations: 0 / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1618, allocations: 233.1 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1618, allocations: 89.02 kB / 0.5632 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1618, allocations: 7.984 kB / 0.5632 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.1619, allocations: 8 kB / 0.5632 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.162, allocations: 7.984 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.162, allocations: 4 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1621, allocations: 169.2 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1621, allocations: 0 / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1624, allocations: 31.92 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002408/0.1648, allocations: 1.187 MB / 0.5646 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.165, allocations: 79.84 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.165, allocations: 0 / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.1651, allocations: 35.92 kB / 0.5647 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1655, allocations: 32.67 kB / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.1677, allocations: 1.818 MB / 0.5665 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1681, allocations: 0.7273 MB / 0.5672 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.1681, allocations: 24.61 kB / 0.5672 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.1682, allocations: 47.36 kB / 0.5673 GB, free: 10.07 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1682, allocations: 0 / 0.5673 GB, free: 10.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.1884, allocations: 3.957 MB / 0.5711 GB, free: 6.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.739, allocations: 16.88 kB / 0.5711 GB, free: 6.18 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.019173395005055] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.92485468898667 8.951344754 8.790784949 Calling exit ...