Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.001757/0.001757, allocations: 120.4 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.002181/0.002181, allocations: 208.9 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.549/1.549, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.2797/0.2797, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",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.002336/0.002336, allocations: 79.88 kB / 0.4913 GB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1467, allocations: 65.98 MB / 0.5557 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00388/0.1506, allocations: 1.744 MB / 0.5574 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1526, allocations: 1.026 MB / 0.5584 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.1527, allocations: 7.938 kB / 0.5584 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.153, allocations: 51.75 kB / 0.5585 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.1533, allocations: 95.59 kB / 0.5586 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1535, allocations: 71.69 kB / 0.5587 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1537, allocations: 107.7 kB / 0.5588 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1538, allocations: 8 kB / 0.5588 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.1539, allocations: 47.78 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.154, allocations: 31.84 kB / 0.5588 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.154, allocations: 4 kB / 0.5588 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1541, allocations: 51.92 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.1542, allocations: 23.91 kB / 0.5589 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.1543, allocations: 39.67 kB / 0.559 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1545, allocations: 119.5 kB / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1545, allocations: 0 / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1545, allocations: 3.938 kB / 0.5591 GB, free: 2.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1545, allocations: 0 / 0.5591 GB, free: 2.945 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.0006175/0.1551, allocations: 426.6 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1551, allocations: 8.031 kB / 0.5595 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.1552, allocations: 46.62 kB / 0.5595 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.1552, allocations: 12.88 kB / 0.5595 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1556, allocations: 216.1 kB / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1556, allocations: 4.375 kB / 0.5598 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1556, allocations: 384 / 0.5598 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1557, allocations: 57.8 kB / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1558, allocations: 0 / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1558, allocations: 0 / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1558, allocations: 7.984 kB / 0.5598 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.1558, allocations: 23.92 kB / 0.5598 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.1562, allocations: 292.8 kB / 0.5601 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1564, allocations: 50.67 kB / 0.5602 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1565, allocations: 16.86 kB / 0.5602 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1565, allocations: 4 kB / 0.5602 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.1567, allocations: 79.31 kB / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1567, allocations: 0 / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005229/0.1572, allocations: 169.4 kB / 0.5604 GB, free: 1.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1572, allocations: 59.41 kB / 0.5605 GB, free: 1.309 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1574, allocations: 210.1 kB / 0.5607 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1575, allocations: 29.7 kB / 0.5607 GB, free: 1.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.1575, allocations: 108.1 kB / 0.5608 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.1576, allocations: 27.78 kB / 0.5608 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.1576, allocations: 25.7 kB / 0.5609 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1578, allocations: 330.8 kB / 0.5612 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.1578, allocations: 12 kB / 0.5612 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.1579, allocations: 37.7 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.158, allocations: 65.64 kB / 0.5613 GB, free: 444 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.158, allocations: 0 / 0.5613 GB, free: 444 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1582, allocations: 101.6 kB / 0.5614 GB, free: 336 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1582, allocations: 4 kB / 0.5614 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1582, allocations: 0 / 0.5614 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1582, allocations: 0 / 0.5614 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.1583, allocations: 20.12 kB / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1583, allocations: 0 / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.1584, allocations: 19.86 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1584, allocations: 4.031 kB / 0.5614 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.0001094/0.1585, allocations: 129.8 kB / 0.5616 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.1585, allocations: 11.91 kB / 0.5616 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.1586, allocations: 21.39 kB / 0.5616 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1586, allocations: 0 / 0.5616 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1586, allocations: 0 / 0.5616 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1586, allocations: 0 / 0.5616 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.1591, allocations: 403.2 kB / 0.562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1591, allocations: 0 / 0.562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.1591, allocations: 11.94 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1591, allocations: 4 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1591, allocations: 0 / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1591, allocations: 3.938 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1591, allocations: 0 / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1594, allocations: 212.5 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.1594, allocations: 81.06 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1594, allocations: 4.375 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.1595, allocations: 7.938 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.1596, allocations: 7.984 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1596, allocations: 8 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1597, allocations: 160.8 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 0 / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.16, allocations: 23.94 kB / 0.5625 GB, free: 15.1 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.002155/0.1621, allocations: 1.105 MB / 0.5636 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1623, allocations: 55.86 kB / 0.5636 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1623, allocations: 0 / 0.5636 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.1624, allocations: 27.92 kB / 0.5636 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1627, allocations: 33.78 kB / 0.5637 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1647, allocations: 1.694 MB / 0.5653 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.1651, allocations: 0.708 MB / 0.566 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.1651, allocations: 24.77 kB / 0.566 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.1652, allocations: 39.42 kB / 0.5661 GB, free: 11.45 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1652, allocations: 0 / 0.5661 GB, free: 11.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1917, allocations: 3.54 MB / 0.5695 GB, free: 7.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.381, allocations: 16.58 kB / 0.5695 GB, free: 7.961 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.56001569610089] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.507165007293224 8.533047592 8.374109998 Calling exit ...