Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001298/0.001298, allocations: 116.9 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.00142/0.00142, allocations: 217.4 kB / 21.46 MB, free: 1.602 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.601/1.601, allocations: 230.6 MB / 254.8 MB, free: 15.2 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.2635/0.2635, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.001966/0.001966, allocations: 67.89 kB / 0.4886 GB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1542, allocations: 65.43 MB / 0.5525 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003246/0.1575, allocations: 1.731 MB / 0.5542 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1593, allocations: 1.038 MB / 0.5552 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.1593, allocations: 0 / 0.5552 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.1597, allocations: 59.73 kB / 0.5553 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.16, allocations: 99.55 kB / 0.5554 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1602, allocations: 79.72 kB / 0.5555 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.1604, allocations: 99.64 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1605, allocations: 16.25 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1606, allocations: 47.8 kB / 0.5556 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.1607, allocations: 31.84 kB / 0.5556 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1607, allocations: 4 kB / 0.5556 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1608, allocations: 51.91 kB / 0.5557 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.1609, allocations: 27.86 kB / 0.5557 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.1609, allocations: 47.67 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1612, allocations: 143.3 kB / 0.5559 GB, free: 6.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1612, allocations: 0 / 0.5559 GB, free: 6.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1612, allocations: 0 / 0.5559 GB, free: 6.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1612, allocations: 0 / 0.5559 GB, free: 6.523 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.0006686/0.1619, allocations: 458.3 kB / 0.5563 GB, free: 6.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1619, allocations: 8.031 kB / 0.5563 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.532e-05/0.1619, allocations: 8.188 kB / 0.5564 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.162, allocations: 34.73 kB / 0.5564 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.162, allocations: 16.84 kB / 0.5564 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1623, allocations: 228.9 kB / 0.5566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1624, allocations: 4.125 kB / 0.5566 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1624, allocations: 4 kB / 0.5566 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1625, allocations: 57.67 kB / 0.5567 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1625, allocations: 3.938 kB / 0.5567 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1626, allocations: 0 / 0.5567 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1626, allocations: 0 / 0.5567 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.1626, allocations: 27.86 kB / 0.5567 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.1631, allocations: 300.8 kB / 0.557 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1633, allocations: 54.69 kB / 0.5571 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.1633, allocations: 20.84 kB / 0.5571 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1633, allocations: 0 / 0.5571 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1635, allocations: 75.33 kB / 0.5571 GB, free: 5.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1635, allocations: 0 / 0.5571 GB, free: 5.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.1641, allocations: 185.2 kB / 0.5573 GB, free: 4.887 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1642, allocations: 55.41 kB / 0.5574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.1645, allocations: 287.1 kB / 0.5577 GB, free: 4.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1645, allocations: 25.7 kB / 0.5577 GB, free: 4.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1646, allocations: 116.1 kB / 0.5578 GB, free: 4.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.1646, allocations: 27.78 kB / 0.5578 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.1647, allocations: 25.7 kB / 0.5578 GB, free: 4.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1649, allocations: 326.8 kB / 0.5581 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.1649, allocations: 27.98 kB / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.165, allocations: 37.7 kB / 0.5582 GB, free: 3.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1651, allocations: 57.64 kB / 0.5583 GB, free: 3.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1651, allocations: 0 / 0.5583 GB, free: 3.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.1653, allocations: 109.5 kB / 0.5584 GB, free: 3.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1654, allocations: 4 kB / 0.5584 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1654, allocations: 4 kB / 0.5584 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1654, allocations: 4.031 kB / 0.5584 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1655, allocations: 15.98 kB / 0.5584 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1655, allocations: 3.938 kB / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.1655, allocations: 4 kB / 0.5584 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1656, allocations: 7.984 kB / 0.5584 GB, free: 3.703 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 (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.0001366/0.1657, allocations: 136 kB / 0.5585 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.1657, allocations: 15.91 kB / 0.5586 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.1658, allocations: 25.39 kB / 0.5586 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1658, allocations: 4 kB / 0.5586 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.1658, allocations: 3.938 kB / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1658, allocations: 0 / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.1664, allocations: 407.5 kB / 0.559 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1664, allocations: 0 / 0.559 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.1664, allocations: 23.8 kB / 0.559 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1664, allocations: 3.938 kB / 0.559 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1664, allocations: 0 / 0.559 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1664, allocations: 4 kB / 0.559 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1664, allocations: 4.031 kB / 0.559 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1667, allocations: 200.5 kB / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.1668, allocations: 92.95 kB / 0.5593 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1668, allocations: 8.359 kB / 0.5593 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.1669, allocations: 0 / 0.5593 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.167, allocations: 12 kB / 0.5593 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.167, allocations: 11.98 kB / 0.5593 GB, free: 2.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1672, allocations: 216.5 kB / 0.5595 GB, free: 2.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1672, allocations: 0 / 0.5595 GB, free: 2.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1675, allocations: 31.88 kB / 0.5596 GB, free: 2.422 MB / 414.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.002371/0.1698, allocations: 1.1 MB / 0.5606 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.1701, allocations: 55.91 kB / 0.5607 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1701, allocations: 0 / 0.5607 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.1701, allocations: 35.98 kB / 0.5607 GB, free: 1.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1705, allocations: 27.36 kB / 0.5607 GB, free: 1.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.1729, allocations: 1.874 MB / 0.5626 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1733, allocations: 0.7236 MB / 0.5633 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.825e-05/0.1734, allocations: 21.17 kB / 0.5633 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/0.1735, allocations: 43.42 kB / 0.5633 GB, free: 14.59 MB / 430.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1735, allocations: 0 / 0.5633 GB, free: 14.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.1933, allocations: 3.901 MB / 0.5672 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.55, allocations: 9 kB / 0.5672 GB, free: 10.75 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.792251929000486] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.731246334966272 8.752413531 8.587355031 Calling exit ...