Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001546/0.001546, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001823/0.001823, allocations: 219 kB / 21.46 MB, free: 1.586 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.633/1.633, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.89 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 73.94 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1431, allocations: 65.41 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003835/0.1469, allocations: 1.696 MB / 0.5542 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1489, allocations: 1.016 MB / 0.5552 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.149, allocations: 4 kB / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.1494, allocations: 59.73 kB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.1498, allocations: 107.6 kB / 0.5553 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.15, allocations: 75.66 kB / 0.5554 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1503, allocations: 107.7 kB / 0.5555 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.468e-05/0.1503, allocations: 4.234 kB / 0.5555 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1504, allocations: 55.7 kB / 0.5556 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1506, allocations: 51.77 kB / 0.5556 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1506, allocations: 4 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.1507, allocations: 35.98 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.1507, allocations: 15.92 kB / 0.5557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.1508, allocations: 31.8 kB / 0.5557 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.151, allocations: 107.7 kB / 0.5558 GB, free: 6.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.151, allocations: 0 / 0.5558 GB, free: 6.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.151, allocations: 4 kB / 0.5558 GB, free: 6.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.151, allocations: 3.938 kB / 0.5558 GB, free: 6.68 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.000642/0.1517, allocations: 410.8 kB / 0.5562 GB, free: 6.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1517, allocations: 8.031 kB / 0.5562 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.364e-05/0.1518, allocations: 4.188 kB / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.1518, allocations: 30.75 kB / 0.5562 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1518, allocations: 12.84 kB / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.1522, allocations: 215.2 kB / 0.5564 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1523, allocations: 8.125 kB / 0.5565 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1523, allocations: 4 kB / 0.5565 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1524, allocations: 49.61 kB / 0.5565 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1524, allocations: 3.938 kB / 0.5565 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1525, allocations: 0 / 0.5565 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1525, allocations: 0 / 0.5565 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.1525, allocations: 15.98 kB / 0.5565 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.1528, allocations: 185.6 kB / 0.5567 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.153, allocations: 62.55 kB / 0.5568 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.153, allocations: 12.86 kB / 0.5568 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1531, allocations: 4 kB / 0.5568 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.1532, allocations: 67.31 kB / 0.5568 GB, free: 5.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.1532, allocations: 0 / 0.5568 GB, free: 5.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003324/0.1536, allocations: 97.62 kB / 0.5569 GB, free: 5.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1536, allocations: 55.41 kB / 0.557 GB, free: 5.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1538, allocations: 206.2 kB / 0.5572 GB, free: 5.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1539, allocations: 25.7 kB / 0.5572 GB, free: 5.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.1539, allocations: 104.1 kB / 0.5573 GB, free: 4.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.154, allocations: 15.84 kB / 0.5573 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.154, allocations: 17.72 kB / 0.5573 GB, free: 4.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1542, allocations: 322.8 kB / 0.5576 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.1542, allocations: 19.98 kB / 0.5577 GB, free: 4.539 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.1543, allocations: 29.72 kB / 0.5577 GB, free: 4.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1544, allocations: 41.64 kB / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1544, allocations: 0 / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001814/0.1546, allocations: 93.52 kB / 0.5578 GB, free: 4.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1546, allocations: 7.984 kB / 0.5578 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1546, allocations: 4.031 kB / 0.5578 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1546, allocations: 0 / 0.5578 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.1547, allocations: 12 kB / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1547, allocations: 0 / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.1548, allocations: 0 / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1548, allocations: 4 kB / 0.5578 GB, free: 4.332 MB / 414.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.0001396/0.1549, allocations: 131.9 kB / 0.558 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1549, allocations: 7.953 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.155, allocations: 20.98 kB / 0.558 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.155, allocations: 4 kB / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.155, allocations: 0 / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.155, allocations: 0 / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1552, allocations: 189.5 kB / 0.5582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1552, allocations: 0 / 0.5582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.1552, allocations: 7.984 kB / 0.5582 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1552, allocations: 0 / 0.5582 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1552, allocations: 320 / 0.5582 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1552, allocations: 4 kB / 0.5582 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1552, allocations: 7.938 kB / 0.5582 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1554, allocations: 113 kB / 0.5583 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.1555, allocations: 85 kB / 0.5584 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1555, allocations: 7.938 kB / 0.5584 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.1555, allocations: 4 kB / 0.5584 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1556, allocations: 7.984 kB / 0.5584 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1556, allocations: 3.938 kB / 0.5584 GB, free: 3.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1557, allocations: 148.2 kB / 0.5586 GB, free: 3.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1557, allocations: 4 kB / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.156, allocations: 16 kB / 0.5586 GB, free: 3.488 MB / 414.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.002269/0.1582, allocations: 0.9481 MB / 0.5595 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1584, allocations: 39.92 kB / 0.5595 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1584, allocations: 4.062 kB / 0.5595 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.1585, allocations: 19.98 kB / 0.5596 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1588, allocations: 22.05 kB / 0.5596 GB, free: 2.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1606, allocations: 1.509 MB / 0.5611 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.161, allocations: 0.7041 MB / 0.5617 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.161, allocations: 12.55 kB / 0.5618 GB, free: 256 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.1611, allocations: 35.42 kB / 0.5618 GB, free: 220 kB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1611, allocations: 0 / 0.5618 GB, free: 220 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.1806, allocations: 3.217 MB / 0.5649 GB, free: 13.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.583, allocations: 15.31 kB / 0.5649 GB, free: 13.07 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.92057629401097] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.763876220968086 8.779501492 8.625432356 Calling exit ...