Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001589/0.001589, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00151/0.00151, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.492/1.492, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2311/0.2311, allocations: 46.92 MB / 357.1 MB, free: 10.36 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.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003174/0.003174, allocations: 71.89 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.134, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003585/0.1376, allocations: 2.042 MB / 0.5574 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1394, allocations: 1.118 MB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1395, allocations: 7.938 kB / 0.5585 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.1399, allocations: 43.66 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.1403, allocations: 119.4 kB / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1406, allocations: 107.6 kB / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1409, allocations: 203.4 kB / 0.559 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.141, allocations: 21.67 kB / 0.559 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1412, allocations: 91.62 kB / 0.5591 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1413, allocations: 79.61 kB / 0.5592 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1414, allocations: 12 kB / 0.5592 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1415, allocations: 59.91 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.1415, allocations: 35.84 kB / 0.5593 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.1416, allocations: 75.53 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.142, allocations: 195.1 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.142, allocations: 0 / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.142, allocations: 0 / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.142, allocations: 0 / 0.5595 GB, free: 1.609 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001081/0.1431, allocations: 0.5757 MB / 0.5601 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1431, allocations: 12.03 kB / 0.5601 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.1432, allocations: 42.73 kB / 0.5601 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.1432, allocations: 20.84 kB / 0.5602 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.1437, allocations: 257 kB / 0.5604 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1437, allocations: 12.38 kB / 0.5604 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.1437, allocations: 11.94 kB / 0.5604 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.1442, allocations: 142 kB / 0.5606 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1442, allocations: 4 kB / 0.5606 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1442, allocations: 4 kB / 0.5606 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1442, allocations: 3.938 kB / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.1447, allocations: 119.8 kB / 0.5607 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.1454, allocations: 0.5477 MB / 0.5612 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.1461, allocations: 158.6 kB / 0.5614 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1464, allocations: 68.8 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1464, allocations: 0 / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.1468, allocations: 135.2 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.1468, allocations: 0 / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009556/0.1478, allocations: 265.3 kB / 0.5618 GB, free: 15.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1478, allocations: 51.41 kB / 0.5619 GB, free: 14.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.1481, allocations: 236.2 kB / 0.5621 GB, free: 14.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1481, allocations: 29.7 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1482, allocations: 128.4 kB / 0.5623 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1483, allocations: 35.75 kB / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.1484, allocations: 45.64 kB / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1485, allocations: 326.8 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.1488, allocations: 71.86 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.1491, allocations: 104.2 kB / 0.5628 GB, free: 13.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.1497, allocations: 197.8 kB / 0.563 GB, free: 13.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1497, allocations: 0 / 0.563 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007084/0.1504, allocations: 254.6 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.1504, allocations: 37.83 kB / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1504, allocations: 0 / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1504, allocations: 7.938 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.1506, allocations: 35.97 kB / 0.5633 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1506, allocations: 7.984 kB / 0.5633 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1508, allocations: 23.88 kB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1509, allocations: 11.98 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001349/0.151, allocations: 140 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.151, allocations: 19.91 kB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/0.1511, allocations: 21.39 kB / 0.5635 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1511, allocations: 3.938 kB / 0.5635 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1511, allocations: 4 kB / 0.5635 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1511, allocations: 0 / 0.5635 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.1514, allocations: 245.4 kB / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1514, allocations: 4 kB / 0.5638 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1515, allocations: 27.91 kB / 0.5638 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1515, allocations: 8 kB / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1516, allocations: 0 / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1516, allocations: 3.938 kB / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1516, allocations: 0 / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.1525, allocations: 304.8 kB / 0.5641 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.1526, allocations: 101 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1526, allocations: 0 / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1528, allocations: 23.91 kB / 0.5642 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.1529, allocations: 15.98 kB / 0.5642 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.1529, allocations: 8 kB / 0.5643 GB, free: 12.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.1531, allocations: 173.6 kB / 0.5644 GB, free: 12.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1531, allocations: 8 kB / 0.5644 GB, free: 12.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1534, allocations: 39.92 kB / 0.5645 GB, free: 12.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002818/0.1562, allocations: 1.144 MB / 0.5656 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007388/0.1569, allocations: 211.2 kB / 0.5658 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1569, allocations: 4.25 kB / 0.5658 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.1572, allocations: 71.88 kB / 0.5659 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1576, allocations: 53.88 kB / 0.5659 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.1614, allocations: 2.189 MB / 0.568 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1618, allocations: 0.728 MB / 0.5688 GB, free: 7.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.16e-05/0.1619, allocations: 17.55 kB / 0.5688 GB, free: 7.719 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.162, allocations: 63.34 kB / 0.5688 GB, free: 7.656 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.162, allocations: 0 / 0.5688 GB, free: 7.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.1912, allocations: 5.03 MB / 0.5737 GB, free: 2.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.454, allocations: 18.56 kB / 0.5738 GB, free: 2.688 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.454935393994674] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.585612406022847 8.602038612 8.457075404 Calling exit ...