Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001315/0.001315, allocations: 121 kB / 18.5 MB, free: 4.562 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.001405/0.001405, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.521/1.521, 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.234/0.234, 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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.002186/0.002186, allocations: 73.92 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1492, allocations: 65.41 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003688/0.1529, allocations: 1.731 MB / 0.5542 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1558, allocations: 1.645 MB / 0.5558 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1559, allocations: 3.938 kB / 0.5558 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.1562, allocations: 35.77 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.1566, allocations: 107.5 kB / 0.556 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1569, allocations: 71.72 kB / 0.556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.1571, allocations: 111.6 kB / 0.5561 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1573, allocations: 8.281 kB / 0.5561 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1574, allocations: 55.77 kB / 0.5562 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1576, allocations: 39.84 kB / 0.5562 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1576, allocations: 4 kB / 0.5562 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.1579, allocations: 115.9 kB / 0.5563 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.1579, allocations: 19.91 kB / 0.5564 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.158, allocations: 31.81 kB / 0.5564 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.1583, allocations: 179.2 kB / 0.5566 GB, free: 5.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1583, allocations: 0 / 0.5566 GB, free: 5.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1583, allocations: 0 / 0.5566 GB, free: 5.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1583, allocations: 0 / 0.5566 GB, free: 5.891 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.000781/0.1591, allocations: 430.6 kB / 0.557 GB, free: 5.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.1592, allocations: 8.031 kB / 0.557 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.468e-05/0.1592, allocations: 12.12 kB / 0.557 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.1592, allocations: 30.75 kB / 0.557 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.1593, allocations: 12.84 kB / 0.557 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.1597, allocations: 216.9 kB / 0.5572 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1597, allocations: 11.88 kB / 0.5573 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1597, allocations: 4 kB / 0.5573 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1599, allocations: 67.38 kB / 0.5573 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1599, allocations: 8 kB / 0.5573 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1599, allocations: 0 / 0.5573 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1599, allocations: 0 / 0.5573 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1601, allocations: 23.98 kB / 0.5574 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.1605, allocations: 284.9 kB / 0.5576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.1607, allocations: 58.59 kB / 0.5577 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1608, allocations: 20.86 kB / 0.5577 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1608, allocations: 3.984 kB / 0.5577 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1609, allocations: 67.39 kB / 0.5578 GB, free: 4.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1609, allocations: 0 / 0.5578 GB, free: 4.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006059/0.1616, allocations: 169.3 kB / 0.5579 GB, free: 4.305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.1616, allocations: 81.09 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1618, allocations: 173.3 kB / 0.5582 GB, free: 4.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1618, allocations: 25.7 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.1619, allocations: 100.1 kB / 0.5583 GB, free: 3.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.162, allocations: 35.72 kB / 0.5583 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.162, allocations: 21.72 kB / 0.5583 GB, free: 3.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1622, allocations: 322.8 kB / 0.5587 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.1622, allocations: 23.98 kB / 0.5587 GB, free: 3.484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.1623, allocations: 46.56 kB / 0.5587 GB, free: 3.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1624, allocations: 57.7 kB / 0.5588 GB, free: 3.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1624, allocations: 0 / 0.5588 GB, free: 3.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002176/0.1627, allocations: 97.58 kB / 0.5589 GB, free: 3.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1627, allocations: 4 kB / 0.5589 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1627, allocations: 0 / 0.5589 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1627, allocations: 3.938 kB / 0.5589 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1628, allocations: 27.98 kB / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.1628, allocations: 0 / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.1629, allocations: 4 kB / 0.5589 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1629, allocations: 4.188 kB / 0.5589 GB, free: 3.223 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.0001152/0.163, allocations: 126 kB / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.163, allocations: 11.89 kB / 0.559 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1631, allocations: 12.72 kB / 0.5591 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1631, allocations: 7.875 kB / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1631, allocations: 0 / 0.5591 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1631, allocations: 8 kB / 0.5591 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1636, allocations: 403.2 kB / 0.5595 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1636, allocations: 384 / 0.5595 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.1636, allocations: 11.98 kB / 0.5595 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1636, allocations: 0 / 0.5595 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1636, allocations: 8 kB / 0.5595 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1636, allocations: 0 / 0.5595 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1636, allocations: 0 / 0.5595 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.164, allocations: 208.5 kB / 0.5597 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.164, allocations: 89.05 kB / 0.5598 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.164, allocations: 0 / 0.5598 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.1641, allocations: 4 kB / 0.5598 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1642, allocations: 11.98 kB / 0.5598 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1642, allocations: 0 / 0.5598 GB, free: 2.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1643, allocations: 134.7 kB / 0.5599 GB, free: 2.109 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1643, allocations: 0 / 0.5599 GB, free: 2.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1646, allocations: 43.86 kB / 0.5599 GB, free: 2.066 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.002549/0.1672, allocations: 1.196 MB / 0.5611 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1674, allocations: 63.83 kB / 0.5612 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1674, allocations: 0 / 0.5612 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.1675, allocations: 23.98 kB / 0.5612 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.1679, allocations: 39.95 kB / 0.5612 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.1699, allocations: 1.593 MB / 0.5628 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1703, allocations: 0.6963 MB / 0.5635 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.752e-05/0.1704, allocations: 20.88 kB / 0.5635 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.1705, allocations: 43.36 kB / 0.5635 GB, free: 14.47 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1705, allocations: 0 / 0.5635 GB, free: 14.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.1937, allocations: 4.08 MB / 0.5675 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/8.574, allocations: 14.88 kB / 0.5675 GB, free: 10.38 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.774187890987378] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.763105534017086 8.78431085 8.622000732 Calling exit ...