Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.001758/0.001758, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002187/0.002187, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.553/1.553, 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.2507/0.2507, allocations: 46.89 MB / 357.4 MB, free: 10.61 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.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",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.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1546, allocations: 65.99 MB / 0.5557 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003463/0.158, allocations: 1.727 MB / 0.5574 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1599, allocations: 1.042 MB / 0.5584 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.1599, allocations: 0 / 0.5584 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1602, allocations: 51.75 kB / 0.5585 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.1605, allocations: 95.55 kB / 0.5586 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1607, allocations: 79.72 kB / 0.5587 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1609, allocations: 107.6 kB / 0.5588 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.161, allocations: 15.98 kB / 0.5588 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.1611, allocations: 43.78 kB / 0.5588 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.1612, allocations: 27.86 kB / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1612, allocations: 4 kB / 0.5589 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.1613, allocations: 47.97 kB / 0.5589 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.1613, allocations: 27.86 kB / 0.5589 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.1614, allocations: 35.75 kB / 0.559 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1616, allocations: 131.4 kB / 0.5591 GB, free: 2.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1616, allocations: 0 / 0.5591 GB, free: 2.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1616, allocations: 4 kB / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1616, allocations: 0 / 0.5591 GB, free: 2.949 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.0006765/0.1623, allocations: 434.6 kB / 0.5595 GB, free: 2.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1623, allocations: 8.031 kB / 0.5595 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1624, allocations: 38.73 kB / 0.5596 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.1624, allocations: 12.83 kB / 0.5596 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.1628, allocations: 232.8 kB / 0.5598 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1628, allocations: 384 / 0.5598 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.1628, allocations: 8.312 kB / 0.5598 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.163, allocations: 61.8 kB / 0.5599 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.163, allocations: 0 / 0.5599 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.163, allocations: 0 / 0.5599 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.163, allocations: 0 / 0.5599 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.1631, allocations: 19.98 kB / 0.5599 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1636, allocations: 296.8 kB / 0.5602 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1637, allocations: 54.61 kB / 0.5602 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.1638, allocations: 24.83 kB / 0.5602 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1638, allocations: 7.984 kB / 0.5602 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.164, allocations: 67.39 kB / 0.5603 GB, free: 1.531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.164, allocations: 0 / 0.5603 GB, free: 1.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005859/0.1646, allocations: 177.3 kB / 0.5605 GB, free: 1.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.1647, allocations: 55.41 kB / 0.5605 GB, free: 1.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1649, allocations: 234.1 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.165, allocations: 25.7 kB / 0.5608 GB, free: 1.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.165, allocations: 116 kB / 0.5609 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.1651, allocations: 19.86 kB / 0.5609 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.1651, allocations: 33.7 kB / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1653, allocations: 326.8 kB / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.1654, allocations: 23.92 kB / 0.5613 GB, free: 500 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.1654, allocations: 37.7 kB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1655, allocations: 53.72 kB / 0.5614 GB, free: 396 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1655, allocations: 0 / 0.5614 GB, free: 396 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1657, allocations: 113.5 kB / 0.5615 GB, free: 276 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1657, allocations: 4 kB / 0.5615 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1658, allocations: 4 kB / 0.5615 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1658, allocations: 0 / 0.5615 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1659, allocations: 12 kB / 0.5615 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1659, allocations: 3.984 kB / 0.5615 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1659, allocations: 4 kB / 0.5615 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1659, allocations: 8 kB / 0.5615 GB, free: 240 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.0001354/0.1661, allocations: 138.9 kB / 0.5616 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.1661, allocations: 16.03 kB / 0.5616 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.1662, allocations: 21.41 kB / 0.5617 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1662, allocations: 3.938 kB / 0.5617 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1662, allocations: 384 / 0.5617 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1662, allocations: 3.984 kB / 0.5617 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.1667, allocations: 399.3 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1667, allocations: 4 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.1667, allocations: 11.98 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1667, allocations: 4.031 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1668, allocations: 4 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1668, allocations: 3.938 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1668, allocations: 0 / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.167, allocations: 204.2 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.1671, allocations: 89.02 kB / 0.5624 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1671, allocations: 12 kB / 0.5624 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.1672, allocations: 7.922 kB / 0.5624 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.1673, allocations: 4 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1673, allocations: 4 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1675, allocations: 176.4 kB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1675, allocations: 0 / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1677, allocations: 31.92 kB / 0.5626 GB, free: 15.01 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.002361/0.1701, allocations: 1.091 MB / 0.5637 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1703, allocations: 63.89 kB / 0.5637 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1703, allocations: 3.938 kB / 0.5637 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.595e-05/0.1704, allocations: 24 kB / 0.5637 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1708, allocations: 31.72 kB / 0.5638 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.1734, allocations: 1.753 MB / 0.5655 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.1739, allocations: 0.708 MB / 0.5662 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.002e-05/0.174, allocations: 17.19 kB / 0.5662 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.1741, allocations: 43.41 kB / 0.5662 GB, free: 11.3 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1741, allocations: 0 / 0.5662 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.201, allocations: 3.653 MB / 0.5698 GB, free: 7.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.068, allocations: 10.17 kB / 0.5698 GB, free: 7.707 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.323431049939245] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.192506540101022 8.207130475 8.042718727 Calling exit ...