Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2967/0.2967, allocations: 46.88 MB / 357.4 MB, free: 10.51 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 79.88 kB / 0.4913 GB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1489, allocations: 65.98 MB / 0.5557 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003227/0.1522, allocations: 1.744 MB / 0.5574 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.154, allocations: 1.034 MB / 0.5585 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.1541, allocations: 4 kB / 0.5585 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.1544, allocations: 43.77 kB / 0.5585 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.1548, allocations: 107.5 kB / 0.5586 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1551, allocations: 71.69 kB / 0.5587 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1553, allocations: 107.7 kB / 0.5588 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1554, allocations: 12 kB / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1555, allocations: 43.78 kB / 0.5588 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.1556, allocations: 35.84 kB / 0.5589 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1556, allocations: 4 kB / 0.5589 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1557, allocations: 43.98 kB / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.1558, allocations: 31.78 kB / 0.5589 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.1559, allocations: 35.69 kB / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1562, allocations: 131.4 kB / 0.5591 GB, free: 3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.1562, allocations: 3.984 kB / 0.5591 GB, free: 2.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1562, allocations: 0 / 0.5591 GB, free: 2.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1562, allocations: 4 kB / 0.5591 GB, free: 2.992 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.0008059/0.157, allocations: 434.6 kB / 0.5595 GB, free: 2.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.157, allocations: 8.031 kB / 0.5595 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.1571, allocations: 34.75 kB / 0.5596 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.1571, allocations: 12.89 kB / 0.5596 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1575, allocations: 224.7 kB / 0.5598 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1575, allocations: 4.375 kB / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1575, allocations: 4.375 kB / 0.5598 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1577, allocations: 57.8 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1577, allocations: 0 / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1577, allocations: 4 kB / 0.5598 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1577, allocations: 4 kB / 0.5599 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.1578, allocations: 15.98 kB / 0.5599 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.1582, allocations: 296.8 kB / 0.5602 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1584, allocations: 66.61 kB / 0.5602 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1585, allocations: 16.86 kB / 0.5602 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1585, allocations: 0 / 0.5602 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1586, allocations: 63.39 kB / 0.5603 GB, free: 1.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1586, allocations: 0 / 0.5603 GB, free: 1.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005644/0.1592, allocations: 181.3 kB / 0.5605 GB, free: 1.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1593, allocations: 55.41 kB / 0.5605 GB, free: 1.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1595, allocations: 238.1 kB / 0.5607 GB, free: 1.102 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1595, allocations: 25.7 kB / 0.5608 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.1596, allocations: 120 kB / 0.5609 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.1596, allocations: 27.78 kB / 0.5609 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.1597, allocations: 17.72 kB / 0.5609 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1598, allocations: 330.8 kB / 0.5612 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.1599, allocations: 23.98 kB / 0.5613 GB, free: 0.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.1599, allocations: 33.7 kB / 0.5613 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1601, allocations: 65.69 kB / 0.5614 GB, free: 444 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1601, allocations: 0 / 0.5614 GB, free: 444 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002231/0.1603, allocations: 101.5 kB / 0.5615 GB, free: 336 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1603, allocations: 4.188 kB / 0.5615 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1603, allocations: 0 / 0.5615 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1603, allocations: 7.969 kB / 0.5615 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.1604, allocations: 27.92 kB / 0.5615 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1604, allocations: 160 / 0.5615 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1605, allocations: 3.984 kB / 0.5615 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1605, allocations: 4 kB / 0.5615 GB, free: 288 kB / 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.0001671/0.1606, allocations: 135.5 kB / 0.5616 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.1607, allocations: 15.91 kB / 0.5616 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.1607, allocations: 25.31 kB / 0.5617 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1607, allocations: 8 kB / 0.5617 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1607, allocations: 0 / 0.5617 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1607, allocations: 0 / 0.5617 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.1612, allocations: 399.2 kB / 0.5621 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.1612, allocations: 4 kB / 0.5621 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.1613, allocations: 12 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1613, allocations: 0 / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1613, allocations: 0 / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1613, allocations: 3.938 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1613, allocations: 8.031 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1615, allocations: 208.2 kB / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1616, allocations: 89.02 kB / 0.5624 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1616, allocations: 0 / 0.5624 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.1617, allocations: 7.938 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.1617, allocations: 8.359 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1617, allocations: 8 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1619, allocations: 176.4 kB / 0.5626 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1619, allocations: 0 / 0.5626 GB, free: 15.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1622, allocations: 23.94 kB / 0.5626 GB, free: 15.06 MB / 430.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.002136/0.1643, allocations: 1.107 MB / 0.5637 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1645, allocations: 55.86 kB / 0.5637 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1645, allocations: 0 / 0.5637 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.1645, allocations: 28.05 kB / 0.5637 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1649, allocations: 30.48 kB / 0.5638 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1669, allocations: 1.758 MB / 0.5655 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1673, allocations: 0.7158 MB / 0.5662 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.1673, allocations: 12.88 kB / 0.5662 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.1674, allocations: 39.42 kB / 0.5662 GB, free: 11.35 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1674, allocations: 0 / 0.5662 GB, free: 11.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.1945, allocations: 3.648 MB / 0.5698 GB, free: 7.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.055, allocations: 6.109 kB / 0.5698 GB, free: 7.762 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.334304435178638] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.175835796166211 8.191659958 8.032301183 Calling exit ...