Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.002151/0.002151, allocations: 121 kB / 18.49 MB, free: 4.586 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.003861/0.003861, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.2269/0.2269, allocations: 46.92 MB / 357.8 MB, free: 10.35 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.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 67.91 kB / 0.4917 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.137, allocations: 65.99 MB / 0.5561 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003354/0.1403, allocations: 1.745 MB / 0.5578 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1421, allocations: 1.038 MB / 0.5589 GB, free: 3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1422, allocations: 0 / 0.5589 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.1426, allocations: 83.7 kB / 0.5589 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.1431, allocations: 107.6 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1433, allocations: 83.66 kB / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.1436, allocations: 123.6 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1437, allocations: 16 kB / 0.5593 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1438, allocations: 51.78 kB / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1439, allocations: 59.8 kB / 0.5594 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1439, allocations: 4 kB / 0.5594 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1441, allocations: 43.98 kB / 0.5594 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.1441, allocations: 35.78 kB / 0.5594 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.1442, allocations: 35.73 kB / 0.5595 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1444, allocations: 123.4 kB / 0.5596 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1445, allocations: 4 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1445, allocations: 0 / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.1445, allocations: 0 / 0.5596 GB, free: 2.242 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.0006672/0.1451, allocations: 430.6 kB / 0.56 GB, free: 1.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1452, allocations: 8.031 kB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.767e-05/0.1452, allocations: 192 / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.1452, allocations: 34.75 kB / 0.56 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.1453, allocations: 12.84 kB / 0.5601 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.1456, allocations: 224 kB / 0.5603 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1456, allocations: 12.11 kB / 0.5603 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1456, allocations: 4 kB / 0.5603 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1458, allocations: 53.67 kB / 0.5603 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1458, allocations: 7.984 kB / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1458, allocations: 0 / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1458, allocations: 0 / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.1459, allocations: 19.98 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.1463, allocations: 292.8 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1465, allocations: 62.61 kB / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.1465, allocations: 16.86 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1466, allocations: 0 / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1467, allocations: 71.38 kB / 0.5608 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1467, allocations: 3.938 kB / 0.5608 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005955/0.1473, allocations: 185.3 kB / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.1474, allocations: 51.41 kB / 0.561 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1476, allocations: 235.3 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1476, allocations: 25.7 kB / 0.5613 GB, free: 320 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.1477, allocations: 104.1 kB / 0.5614 GB, free: 212 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1478, allocations: 27.78 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1478, allocations: 21.72 kB / 0.5614 GB, free: 156 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.148, allocations: 326.8 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-05/0.148, allocations: 27.98 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.1481, allocations: 33.7 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1482, allocations: 57.7 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1482, allocations: 3.938 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002655/0.1485, allocations: 97.97 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1485, allocations: 8 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1485, allocations: 4.031 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1485, allocations: 0 / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.1486, allocations: 23.92 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1486, allocations: 7.938 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.1487, allocations: 0 / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1487, allocations: 4 kB / 0.562 GB, free: 15.54 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.0001266/0.1488, allocations: 132 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1488, allocations: 11.91 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.1489, allocations: 25.39 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1489, allocations: 0 / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.1489, allocations: 3.938 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1489, allocations: 0 / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1494, allocations: 399.3 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1494, allocations: 0 / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.1494, allocations: 11.98 kB / 0.5625 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1494, allocations: 3.938 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1495, allocations: 3.938 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1495, allocations: 8.031 kB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1495, allocations: 0 / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.1497, allocations: 212.4 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1498, allocations: 89 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1498, allocations: 3.984 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.1499, allocations: 4.188 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.1499, allocations: 8 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1499, allocations: 15.92 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1501, allocations: 161.2 kB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1501, allocations: 0 / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1504, allocations: 23.94 kB / 0.563 GB, free: 14.34 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.002296/0.1527, allocations: 1.088 MB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1529, allocations: 55.86 kB / 0.5642 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1529, allocations: 4.062 kB / 0.5642 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.153, allocations: 27.97 kB / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1533, allocations: 45.88 kB / 0.5642 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.1557, allocations: 1.719 MB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.1562, allocations: 0.7119 MB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.1562, allocations: 21.17 kB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/0.1563, allocations: 39.42 kB / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1563, allocations: 0 / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1784, allocations: 3.627 MB / 0.5702 GB, free: 7.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.647, allocations: 7.938 kB / 0.5702 GB, free: 7.113 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.76370513701113] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.840936239052098 8.856486712 8.70898412 Calling exit ...