Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001631/0.001631, allocations: 110.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.001906/0.001906, allocations: 217.4 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.488/1.488, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2519/0.2519, allocations: 44.91 MB / 355.8 MB, free: 12.3 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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.00223/0.00223, allocations: 71.89 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.151, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003637/0.1547, allocations: 1.696 MB / 0.5542 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.1572, allocations: 1.019 MB / 0.5552 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1573, allocations: 0 / 0.5552 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.1577, allocations: 55.75 kB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.1582, allocations: 99.53 kB / 0.5553 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1585, allocations: 75.73 kB / 0.5554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1588, allocations: 99.62 kB / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.696e-05/0.1588, allocations: 8.234 kB / 0.5555 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.159, allocations: 43.78 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1591, allocations: 35.78 kB / 0.5556 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1591, allocations: 4 kB / 0.5556 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1592, allocations: 27.98 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.1593, allocations: 27.86 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.1594, allocations: 43.67 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1597, allocations: 119.7 kB / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1597, allocations: 0 / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1597, allocations: 0 / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1597, allocations: 0 / 0.5558 GB, free: 6.699 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.0009624/0.1607, allocations: 454.4 kB / 0.5562 GB, free: 6.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.1608, allocations: 8.031 kB / 0.5562 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.111e-05/0.1608, allocations: 4.188 kB / 0.5562 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.1608, allocations: 34.75 kB / 0.5562 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.1609, allocations: 12.88 kB / 0.5563 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.1614, allocations: 221 kB / 0.5565 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1614, allocations: 4.125 kB / 0.5565 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1614, allocations: 8 kB / 0.5565 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1616, allocations: 45.69 kB / 0.5565 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1616, allocations: 3.984 kB / 0.5565 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1616, allocations: 3.938 kB / 0.5565 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1617, allocations: 7.984 kB / 0.5565 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.1617, allocations: 8 kB / 0.5566 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1621, allocations: 189.7 kB / 0.5567 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1623, allocations: 62.48 kB / 0.5568 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.1624, allocations: 16.86 kB / 0.5568 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1624, allocations: 0 / 0.5568 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.1626, allocations: 63.39 kB / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.923e-06/0.1626, allocations: 0 / 0.5569 GB, free: 5.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003708/0.1629, allocations: 105.5 kB / 0.557 GB, free: 5.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.163, allocations: 59.41 kB / 0.557 GB, free: 5.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.1633, allocations: 275.7 kB / 0.5573 GB, free: 4.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1633, allocations: 25.7 kB / 0.5573 GB, free: 4.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.1634, allocations: 120.1 kB / 0.5574 GB, free: 4.785 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.1635, allocations: 7.906 kB / 0.5574 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.1635, allocations: 25.7 kB / 0.5575 GB, free: 4.746 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1637, allocations: 326.8 kB / 0.5578 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.1637, allocations: 16 kB / 0.5578 GB, free: 4.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/0.1638, allocations: 25.7 kB / 0.5578 GB, free: 4.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1639, allocations: 57.83 kB / 0.5579 GB, free: 4.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1639, allocations: 0 / 0.5579 GB, free: 4.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001662/0.1641, allocations: 81.59 kB / 0.5579 GB, free: 4.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1641, allocations: 4 kB / 0.5579 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1641, allocations: 0 / 0.5579 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1641, allocations: 7.969 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.1642, allocations: 15.92 kB / 0.558 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1642, allocations: 4 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.1643, allocations: 7.953 kB / 0.558 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1643, allocations: 4 kB / 0.558 GB, free: 4.18 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.0001373/0.1644, allocations: 136.9 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1644, allocations: 11.91 kB / 0.5581 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.1645, allocations: 20.98 kB / 0.5581 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1645, allocations: 0 / 0.5581 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1645, allocations: 4 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1645, allocations: 4 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.1647, allocations: 197.6 kB / 0.5583 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1647, allocations: 0 / 0.5583 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.1647, allocations: 4 kB / 0.5583 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1647, allocations: 0 / 0.5583 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1647, allocations: 3.984 kB / 0.5584 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1647, allocations: 0 / 0.5584 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1647, allocations: 4 kB / 0.5584 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1649, allocations: 124.8 kB / 0.5585 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.165, allocations: 92.95 kB / 0.5586 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.165, allocations: 0 / 0.5586 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.1651, allocations: 12.12 kB / 0.5586 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.1651, allocations: 3.984 kB / 0.5586 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1651, allocations: 4 kB / 0.5586 GB, free: 3.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.1654, allocations: 196.6 kB / 0.5588 GB, free: 3.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1654, allocations: 0 / 0.5588 GB, free: 3.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1656, allocations: 27.98 kB / 0.5588 GB, free: 3.258 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.002108/0.1677, allocations: 0.9597 MB / 0.5597 GB, free: 2.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1679, allocations: 43.98 kB / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1679, allocations: 0 / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.168, allocations: 20 kB / 0.5598 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1683, allocations: 33.27 kB / 0.5598 GB, free: 2.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.1704, allocations: 1.678 MB / 0.5615 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.1708, allocations: 0.7158 MB / 0.5622 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.1708, allocations: 16.55 kB / 0.5622 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.1709, allocations: 35.42 kB / 0.5622 GB, free: 15.77 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1709, allocations: 0 / 0.5622 GB, free: 15.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.1907, allocations: 3.561 MB / 0.5657 GB, free: 12.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.668, allocations: 12.94 kB / 0.5657 GB, free: 12.28 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.843276709958445] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.85061503801262 8.878139732 8.713273342 Calling exit ...