Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001758/0.001758, 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.001919/0.001919, allocations: 218.9 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.544/1.544, 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.2196/0.2196, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test46,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.88 kB / 0.4917 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1338, allocations: 65.99 MB / 0.5561 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003079/0.1368, allocations: 1.745 MB / 0.5579 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1386, allocations: 1.027 MB / 0.5589 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.1386, allocations: 4 kB / 0.5589 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.1389, allocations: 55.75 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.1392, allocations: 107.5 kB / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1394, allocations: 71.73 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1396, allocations: 107.6 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.1397, allocations: 8 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.1398, allocations: 51.77 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.1399, allocations: 31.86 kB / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1399, allocations: 4 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-05/0.14, allocations: 47.97 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.14, allocations: 35.78 kB / 0.5594 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.1401, allocations: 39.69 kB / 0.5594 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1403, allocations: 131.4 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1403, allocations: 4 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1403, allocations: 0 / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1403, allocations: 0 / 0.5595 GB, free: 2.285 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006002/0.1409, allocations: 462.3 kB / 0.56 GB, free: 1.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.141, allocations: 12.03 kB / 0.56 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.864e-05/0.141, allocations: 192 / 0.56 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.141, allocations: 30.75 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1411, allocations: 20.84 kB / 0.56 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.1414, allocations: 217.1 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1414, allocations: 4.125 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1414, allocations: 4 kB / 0.5602 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1415, allocations: 53.67 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1416, allocations: 4 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1416, allocations: 0 / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1416, allocations: 0 / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.1416, allocations: 23.98 kB / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1421, allocations: 312.7 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1423, allocations: 50.67 kB / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1423, allocations: 20.86 kB / 0.5607 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1423, allocations: 0 / 0.5607 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.1425, allocations: 71.33 kB / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1425, allocations: 0 / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005692/0.1431, allocations: 177.4 kB / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1431, allocations: 55.34 kB / 0.561 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1434, allocations: 282.7 kB / 0.5612 GB, free: 320 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1434, allocations: 29.7 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.1435, allocations: 116.1 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1435, allocations: 23.8 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.1436, allocations: 25.7 kB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1438, allocations: 326.8 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.1438, allocations: 23.98 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.1439, allocations: 41.64 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.144, allocations: 61.64 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.144, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001993/0.1442, allocations: 109.9 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1442, allocations: 5.875 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1442, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1443, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.1444, allocations: 31.95 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1444, allocations: 3.938 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.1444, allocations: 0 / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1444, allocations: 4 kB / 0.562 GB, free: 15.48 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 (10): * Single equations (assignments): 10 * 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.0001196/0.1445, allocations: 136 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1446, allocations: 15.91 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.1446, allocations: 25.39 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1446, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1446, allocations: 3.938 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1446, allocations: 4 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.1451, allocations: 411.5 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1451, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.1452, allocations: 8 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1452, allocations: 3.938 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1452, allocations: 3.984 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.1452, allocations: 11.92 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1452, allocations: 0 / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1454, allocations: 204.3 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1455, allocations: 92.95 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1455, allocations: 4 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.1456, allocations: 0 / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1456, allocations: 11.92 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1456, allocations: 8 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1458, allocations: 204.6 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1458, allocations: 0 / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1461, allocations: 27.94 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002194/0.1483, allocations: 1.094 MB / 0.5642 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1485, allocations: 55.92 kB / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1485, allocations: 0 / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.1486, allocations: 23.98 kB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1489, allocations: 36.92 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.151, allocations: 1.85 MB / 0.5661 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.1514, allocations: 0.7196 MB / 0.5668 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.1514, allocations: 20.88 kB / 0.5668 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.1515, allocations: 43.42 kB / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1515, allocations: 0 / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.1718, allocations: 3.853 MB / 0.5706 GB, free: 6.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/8.901, allocations: 9 kB / 0.5707 GB, free: 6.645 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.04374888696475] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.084995635028463 9.111431353 8.966610268 Calling exit ...