Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001756/0.001756, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.002056/0.002056, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2273/0.2273, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.89 kB / 0.4917 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1399, allocations: 66.05 MB / 0.5562 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003342/0.1432, allocations: 1.761 MB / 0.558 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1451, allocations: 1.036 MB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.1452, allocations: 7.938 kB / 0.559 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.1456, allocations: 87.7 kB / 0.5591 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.1459, allocations: 115.6 kB / 0.5592 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1461, allocations: 79.66 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1463, allocations: 119.6 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1464, allocations: 19.97 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1465, allocations: 55.77 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1467, allocations: 63.75 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1467, allocations: 4 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1468, allocations: 63.97 kB / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.1469, allocations: 27.91 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.1469, allocations: 39.62 kB / 0.5596 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.1472, allocations: 139.4 kB / 0.5598 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1472, allocations: 4 kB / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1472, allocations: 0 / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1472, allocations: 0 / 0.5598 GB, free: 1.816 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.0006619/0.1479, allocations: 442.5 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1479, allocations: 8.031 kB / 0.5602 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.1479, allocations: 4.188 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.148, allocations: 34.75 kB / 0.5602 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.148, allocations: 12.84 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1484, allocations: 224.1 kB / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1484, allocations: 384 / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.1484, allocations: 8.375 kB / 0.5605 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1486, allocations: 61.59 kB / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1486, allocations: 4 kB / 0.5605 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1487, allocations: 0 / 0.5605 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1487, allocations: 4 kB / 0.5605 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.1488, allocations: 27.86 kB / 0.5606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1492, allocations: 308.7 kB / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.1495, allocations: 58.55 kB / 0.5609 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.1496, allocations: 20.97 kB / 0.5609 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1496, allocations: 8 kB / 0.5609 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.1498, allocations: 63.39 kB / 0.561 GB, free: 388 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1498, allocations: 4 kB / 0.561 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000824/0.1506, allocations: 249.2 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1506, allocations: 51.41 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.1509, allocations: 227.9 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.1509, allocations: 29.7 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.151, allocations: 104.1 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.1511, allocations: 35.73 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.1511, allocations: 29.7 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1513, allocations: 326.8 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.1513, allocations: 27.98 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/0.1514, allocations: 43.83 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1516, allocations: 89.58 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1516, allocations: 0 / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002368/0.1518, allocations: 125.6 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1518, allocations: 8 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1518, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1519, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.1519, allocations: 19.94 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.1519, allocations: 15.95 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.152, allocations: 0 / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.152, allocations: 12 kB / 0.5623 GB, free: 14.93 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.000128/0.1521, allocations: 129.8 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1522, allocations: 15.91 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.1522, allocations: 14.11 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1522, allocations: 4 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1522, allocations: 3.938 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1522, allocations: 3.984 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.1528, allocations: 464 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1528, allocations: 3.938 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.1529, allocations: 19.92 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1529, allocations: 96 / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1529, allocations: 7.938 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1529, allocations: 0 / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1529, allocations: 0 / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.1532, allocations: 233.2 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.1533, allocations: 96.95 kB / 0.5633 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1533, allocations: 0 / 0.5633 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.1534, allocations: 4 kB / 0.5633 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1534, allocations: 15.92 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1534, allocations: 8 kB / 0.5633 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.1536, allocations: 169.2 kB / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1536, allocations: 0 / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1539, allocations: 27.94 kB / 0.5635 GB, free: 13.62 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.002476/0.1563, allocations: 1.174 MB / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1566, allocations: 75.84 kB / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1566, allocations: 0 / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.1567, allocations: 35.92 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.1571, allocations: 38.67 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.1592, allocations: 1.826 MB / 0.5666 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1596, allocations: 0.7157 MB / 0.5673 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.1596, allocations: 20.62 kB / 0.5673 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.1597, allocations: 51.36 kB / 0.5673 GB, free: 9.723 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1597, allocations: 0 / 0.5673 GB, free: 9.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1794, allocations: 3.937 MB / 0.5712 GB, free: 5.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.252, allocations: 5.562 kB / 0.5712 GB, free: 5.844 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.274300905992277] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.432507426012307 8.460217453 8.308080229 Calling exit ...