Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001757/0.001757, allocations: 110.3 kB / 18.49 MB, free: 4.539 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.002178/0.002178, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.499/1.499, 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.232/0.232, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 75.83 kB / 0.4917 GB, free: 7.816 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1325, allocations: 65.99 MB / 0.5562 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003717/0.1362, allocations: 2.284 MB / 0.5584 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1386, allocations: 1.322 MB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1387, allocations: 11.88 kB / 0.5597 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.1391, allocations: 139.3 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.1396, allocations: 266.8 kB / 0.5601 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.14, allocations: 187.6 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005311/0.1406, allocations: 470.6 kB / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1407, allocations: 41.06 kB / 0.5608 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.1411, allocations: 354.9 kB / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1413, allocations: 171 kB / 0.5613 GB, free: 472 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.1414, allocations: 16 kB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1415, allocations: 79.95 kB / 0.5613 GB, free: 376 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.1417, allocations: 147.4 kB / 0.5615 GB, free: 228 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1418, allocations: 206.3 kB / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.1424, allocations: 485.6 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1424, allocations: 3.938 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1424, allocations: 0 / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1424, allocations: 7.938 kB / 0.5622 GB, free: 15.53 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001206/0.1436, allocations: 0.9133 MB / 0.563 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1437, allocations: 15.97 kB / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.029e-05/0.1437, allocations: 8.172 kB / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.1437, allocations: 46.73 kB / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1438, allocations: 76.45 kB / 0.5632 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.1444, allocations: 448.8 kB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.1444, allocations: 16.12 kB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.1445, allocations: 15.95 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.1449, allocations: 189 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1449, allocations: 3.938 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.1449, allocations: 8 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1449, allocations: 8 kB / 0.5638 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.1452, allocations: 91.86 kB / 0.5639 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009462/0.1461, allocations: 0.8212 MB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006664/0.1468, allocations: 234.5 kB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.147, allocations: 83.53 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.147, allocations: 7.938 kB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.1474, allocations: 206.6 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.1474, allocations: 0 / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002626/0.15, allocations: 1.195 MB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.1501, allocations: 144.5 kB / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1512, allocations: 0.9575 MB / 0.5675 GB, free: 9.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.1512, allocations: 41.64 kB / 0.5675 GB, free: 9.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.1515, allocations: 269 kB / 0.5678 GB, free: 9.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.1516, allocations: 146.8 kB / 0.5679 GB, free: 9.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.1517, allocations: 82.08 kB / 0.568 GB, free: 9.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1519, allocations: 322 kB / 0.5683 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.1521, allocations: 120.8 kB / 0.5684 GB, free: 8.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.1524, allocations: 179.2 kB / 0.5686 GB, free: 8.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.153, allocations: 323 kB / 0.5689 GB, free: 8.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.153, allocations: 0 / 0.5689 GB, free: 8.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007673/0.1537, allocations: 449.1 kB / 0.5693 GB, free: 7.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1537, allocations: 5.875 kB / 0.5693 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1537, allocations: 4.078 kB / 0.5693 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1538, allocations: 4 kB / 0.5693 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.154, allocations: 87.89 kB / 0.5694 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.1541, allocations: 15.86 kB / 0.5694 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1542, allocations: 19.98 kB / 0.5695 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.1542, allocations: 20 kB / 0.5695 GB, free: 7.648 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000282/0.1545, allocations: 258.2 kB / 0.5697 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1546, allocations: 79.47 kB / 0.5698 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.1548, allocations: 97.67 kB / 0.5699 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1548, allocations: 4 kB / 0.5699 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.1548, allocations: 3.938 kB / 0.5699 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.1548, allocations: 7.984 kB / 0.5699 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.1566, allocations: 1.33 MB / 0.5712 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1566, allocations: 4 kB / 0.5712 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1567, allocations: 63.84 kB / 0.5713 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1567, allocations: 8.25 kB / 0.5713 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1568, allocations: 12 kB / 0.5713 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1568, allocations: 7.984 kB / 0.5713 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.1568, allocations: 7.938 kB / 0.5713 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.1577, allocations: 0.7981 MB / 0.5721 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.1579, allocations: 188.5 kB / 0.5723 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.158, allocations: 15.98 kB / 0.5723 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.1582, allocations: 23.92 kB / 0.5723 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.1583, allocations: 39.84 kB / 0.5723 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.1583, allocations: 19.98 kB / 0.5724 GB, free: 4.531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000776/0.1591, allocations: 0.706 MB / 0.573 GB, free: 3.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1591, allocations: 0 / 0.573 GB, free: 3.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.1596, allocations: 87.94 kB / 0.5731 GB, free: 3.746 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003125/0.1628, allocations: 1.77 MB / 0.5749 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000667/0.1634, allocations: 299.5 kB / 0.5751 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1634, allocations: 0 / 0.5751 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1637, allocations: 144.5 kB / 0.5753 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.1647, allocations: 126.6 kB / 0.5754 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/0.1713, allocations: 5.146 MB / 0.5804 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.1719, allocations: 0.9133 MB / 0.5813 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.1721, allocations: 87.28 kB / 0.5814 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.1724, allocations: 211.3 kB / 0.5816 GB, free: 11.01 MB / 446.1 MB Notification: Performance of SimCode: time 1.835e-05/0.1724, allocations: 0 / 0.5816 GB, free: 11.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2756/0.448, allocations: 11.59 MB / 0.5929 GB, free: 33.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.421/9.869, allocations: 21.7 kB / 0.593 GB, free: 33.94 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.042839556001127] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 10.054316749970894 10.081749625 9.9346508 Calling exit ...