Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001821/0.001821, allocations: 120.1 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.001464/0.001464, allocations: 215 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.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2357/0.2357, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 63.89 kB / 0.4917 GB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1409, allocations: 65.99 MB / 0.5561 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004414/0.1453, allocations: 1.69 MB / 0.5578 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1477, allocations: 1.027 MB / 0.5588 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.1478, allocations: 0 / 0.5588 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.1482, allocations: 51.75 kB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.1486, allocations: 107.5 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1489, allocations: 71.73 kB / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1491, allocations: 95.69 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.1492, allocations: 8.219 kB / 0.5591 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1493, allocations: 43.8 kB / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.892e-05/0.1494, allocations: 31.8 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1494, allocations: 4 kB / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1495, allocations: 31.97 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.1496, allocations: 23.92 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.1497, allocations: 47.61 kB / 0.5593 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.15, allocations: 123.4 kB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.15, allocations: 0 / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.15, allocations: 0 / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.15, allocations: 0 / 0.5594 GB, free: 2.406 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007574/0.1508, allocations: 442.5 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1508, allocations: 8.031 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.463e-05/0.1509, allocations: 4.188 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.1509, allocations: 34.73 kB / 0.5599 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.151, allocations: 12.88 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.1514, allocations: 237 kB / 0.5601 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1514, allocations: 4.125 kB / 0.5601 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1514, allocations: 7.938 kB / 0.5601 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1516, allocations: 45.67 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1516, allocations: 0 / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1516, allocations: 4 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1517, allocations: 4 kB / 0.5602 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.1517, allocations: 8 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.152, allocations: 193.7 kB / 0.5604 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.1522, allocations: 58.48 kB / 0.5604 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.1523, allocations: 16.86 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1523, allocations: 0 / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1525, allocations: 63.39 kB / 0.5605 GB, free: 1.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1525, allocations: 7.938 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003667/0.1529, allocations: 101.6 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1529, allocations: 55.34 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.1533, allocations: 274.8 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1533, allocations: 25.7 kB / 0.5609 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/0.1534, allocations: 112.1 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.1535, allocations: 15.89 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.1535, allocations: 21.7 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1537, allocations: 334.8 kB / 0.5614 GB, free: 128 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-05/0.1538, allocations: 15.98 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.1539, allocations: 25.66 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.154, allocations: 49.64 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.154, allocations: 0 / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002527/0.1543, allocations: 85.53 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1543, allocations: 8 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1543, allocations: 0 / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1543, allocations: 0 / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.1544, allocations: 11.98 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1544, allocations: 7.938 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.1545, allocations: 12.2 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1545, allocations: 4 kB / 0.5616 GB, free: 15.89 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 (7): * Single equations (assignments): 7 * 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.0002928/0.1548, allocations: 136 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1548, allocations: 19.94 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.1549, allocations: 20.98 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1549, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1549, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.1549, allocations: 4 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1551, allocations: 197.6 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1551, allocations: 0 / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.1551, allocations: 4 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1551, allocations: 3.984 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1551, allocations: 0 / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1551, allocations: 0 / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1551, allocations: 8 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1554, allocations: 120.9 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.1556, allocations: 89.02 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.1556, allocations: 0 / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.1556, allocations: 4 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1557, allocations: 7.984 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1557, allocations: 4 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.156, allocations: 200.6 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.156, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.1563, allocations: 27.92 kB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002015/0.1583, allocations: 0.9534 MB / 0.5633 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1585, allocations: 43.98 kB / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1585, allocations: 0 / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.1586, allocations: 12 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1588, allocations: 39.02 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.1609, allocations: 1.682 MB / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1612, allocations: 0.7236 MB / 0.5658 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.1613, allocations: 8.812 kB / 0.5658 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.1614, allocations: 35.42 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1614, allocations: 0 / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1811, allocations: 3.564 MB / 0.5693 GB, free: 8.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/8.715, allocations: 9 kB / 0.5693 GB, free: 7.996 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.773717798991129] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.90059862099588 8.926323679 8.77200728 Calling exit ...