Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001826/0.001826, allocations: 114.3 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.92 MB / 357.7 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 79.88 kB / 0.4917 GB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1298, allocations: 66.05 MB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003733/0.1335, allocations: 2.027 MB / 0.5582 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1354, allocations: 1.13 MB / 0.5593 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.1355, allocations: 4 kB / 0.5593 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1358, allocations: 47.62 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.1361, allocations: 111.4 kB / 0.5595 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1364, allocations: 107.6 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.1366, allocations: 207.4 kB / 0.5598 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1368, allocations: 29.59 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1369, allocations: 83.69 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.137, allocations: 79.61 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.1371, allocations: 12 kB / 0.56 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1372, allocations: 55.92 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.1372, allocations: 35.84 kB / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.355e-05/0.1373, allocations: 79.52 kB / 0.5601 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.1376, allocations: 199.1 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1377, allocations: 0 / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1377, allocations: 7.938 kB / 0.5603 GB, free: 1.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1377, allocations: 0 / 0.5603 GB, free: 1.199 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.001031/0.1387, allocations: 0.564 MB / 0.5609 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1387, allocations: 8.031 kB / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.411e-05/0.1388, allocations: 4.188 kB / 0.5609 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.1388, allocations: 42.73 kB / 0.5609 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.1389, allocations: 24.84 kB / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.1393, allocations: 251.9 kB / 0.5612 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1394, allocations: 4.375 kB / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.1394, allocations: 16.36 kB / 0.5612 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.1399, allocations: 157.8 kB / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1399, allocations: 0 / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1399, allocations: 3.938 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1399, allocations: 4 kB / 0.5614 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.1404, allocations: 115.9 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.1412, allocations: 0.5438 MB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.1419, allocations: 158.6 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.1422, allocations: 64.8 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1422, allocations: 4 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.1426, allocations: 135.2 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.1426, allocations: 3.938 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009515/0.1436, allocations: 257.7 kB / 0.5626 GB, free: 14.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.1436, allocations: 63.25 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1439, allocations: 240.9 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.144, allocations: 29.7 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1441, allocations: 124.4 kB / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.1441, allocations: 39.69 kB / 0.5631 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.1442, allocations: 37.7 kB / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1443, allocations: 330.8 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.1446, allocations: 67.94 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.1449, allocations: 108.2 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.1455, allocations: 192.6 kB / 0.5638 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1455, allocations: 0 / 0.5638 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007029/0.1462, allocations: 259 kB / 0.564 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.1462, allocations: 29.7 kB / 0.5641 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1462, allocations: 7.984 kB / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1462, allocations: 0 / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1464, allocations: 35.97 kB / 0.5641 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1465, allocations: 11.92 kB / 0.5641 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1466, allocations: 31.98 kB / 0.5641 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1467, allocations: 12 kB / 0.5641 GB, free: 12.96 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.0001371/0.1468, allocations: 133.8 kB / 0.5643 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1468, allocations: 19.89 kB / 0.5643 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.1469, allocations: 17.41 kB / 0.5643 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1469, allocations: 4 kB / 0.5643 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1469, allocations: 3.938 kB / 0.5643 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1469, allocations: 3.984 kB / 0.5643 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.1472, allocations: 245.5 kB / 0.5646 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1472, allocations: 3.938 kB / 0.5646 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1473, allocations: 23.97 kB / 0.5646 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1473, allocations: 0 / 0.5646 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1474, allocations: 3.984 kB / 0.5646 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1474, allocations: 7.938 kB / 0.5646 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1474, allocations: 3.938 kB / 0.5646 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/0.1483, allocations: 308.9 kB / 0.5649 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.1484, allocations: 97 kB / 0.565 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.1484, allocations: 4 kB / 0.565 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1486, allocations: 28.03 kB / 0.565 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.1487, allocations: 15.91 kB / 0.565 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1487, allocations: 8 kB / 0.565 GB, free: 11.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1489, allocations: 177.5 kB / 0.5652 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1489, allocations: 0 / 0.5652 GB, free: 11.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1491, allocations: 39.88 kB / 0.5652 GB, free: 11.73 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.002657/0.1518, allocations: 1.129 MB / 0.5664 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006728/0.1524, allocations: 211.2 kB / 0.5666 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1524, allocations: 0 / 0.5666 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.1527, allocations: 71.88 kB / 0.5666 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1531, allocations: 55.33 kB / 0.5667 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.1567, allocations: 2.189 MB / 0.5688 GB, free: 8.082 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.157, allocations: 0.728 MB / 0.5695 GB, free: 7.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.993e-05/0.1571, allocations: 17.55 kB / 0.5695 GB, free: 7.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.1573, allocations: 59.41 kB / 0.5696 GB, free: 7.254 MB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1573, allocations: 4 kB / 0.5696 GB, free: 7.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1815, allocations: 5.075 MB / 0.5746 GB, free: 2.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.365, allocations: 10.95 kB / 0.5746 GB, free: 2.238 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.336856114969123] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.544651162985247 8.560692407 8.419880239 Calling exit ...