Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.001381/0.001381, 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.001489/0.001489, 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.568/1.568, 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.2778/0.2778, allocations: 46.88 MB / 357.4 MB, free: 10.55 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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",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.002791/0.002791, allocations: 83.86 kB / 0.4913 GB, free: 8.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1637, allocations: 65.98 MB / 0.5557 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003784/0.1675, allocations: 1.779 MB / 0.5575 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1694, allocations: 1.044 MB / 0.5585 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1696, allocations: 4 kB / 0.5585 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.1699, allocations: 99.61 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.1704, allocations: 131.5 kB / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1707, allocations: 87.59 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1709, allocations: 135.6 kB / 0.5589 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1711, allocations: 17.39 kB / 0.559 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1712, allocations: 59.78 kB / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1714, allocations: 83.66 kB / 0.5591 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1714, allocations: 4 kB / 0.5591 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1716, allocations: 59.97 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.1716, allocations: 35.84 kB / 0.5592 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.1717, allocations: 51.67 kB / 0.5592 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.172, allocations: 167.3 kB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.172, allocations: 0 / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1721, allocations: 3.938 kB / 0.5594 GB, free: 2.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1721, allocations: 0 / 0.5594 GB, free: 2.609 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007498/0.1728, allocations: 470.3 kB / 0.5599 GB, free: 2.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1729, allocations: 8.031 kB / 0.5599 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.1729, allocations: 34.75 kB / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.173, allocations: 12.84 kB / 0.5599 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.1733, allocations: 229.1 kB / 0.5601 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1734, allocations: 8.375 kB / 0.5601 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1734, allocations: 4.375 kB / 0.5601 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1736, allocations: 77.72 kB / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.1736, allocations: 3.953 kB / 0.5602 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1736, allocations: 4 kB / 0.5602 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1736, allocations: 3.938 kB / 0.5602 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1737, allocations: 35.97 kB / 0.5603 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.1743, allocations: 336.7 kB / 0.5606 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.1746, allocations: 74.48 kB / 0.5606 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.1746, allocations: 20.84 kB / 0.5607 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1746, allocations: 4 kB / 0.5607 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.1748, allocations: 79.38 kB / 0.5607 GB, free: 1.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.1748, allocations: 4 kB / 0.5607 GB, free: 1.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000899/0.1757, allocations: 297.4 kB / 0.561 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1758, allocations: 55.34 kB / 0.5611 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.176, allocations: 263.7 kB / 0.5613 GB, free: 428 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1761, allocations: 33.7 kB / 0.5614 GB, free: 388 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1762, allocations: 120.1 kB / 0.5615 GB, free: 264 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.1762, allocations: 43.8 kB / 0.5615 GB, free: 220 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.1763, allocations: 33.72 kB / 0.5616 GB, free: 180 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1765, allocations: 330.8 kB / 0.5619 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.1765, allocations: 39.92 kB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.1766, allocations: 54.83 kB / 0.562 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1768, allocations: 109.1 kB / 0.5621 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1768, allocations: 0 / 0.5621 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000269/0.1771, allocations: 161.5 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1771, allocations: 4 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1771, allocations: 3.984 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1771, allocations: 4 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.1772, allocations: 23.98 kB / 0.5623 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1772, allocations: 7.922 kB / 0.5623 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.1773, allocations: 8 kB / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1773, allocations: 7.938 kB / 0.5623 GB, free: 15.41 MB / 430.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 (16): * Single equations (assignments): 16 * 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.0001248/0.1774, allocations: 139.2 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1774, allocations: 23.8 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.1775, allocations: 25.52 kB / 0.5625 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1775, allocations: 4 kB / 0.5625 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1775, allocations: 3.938 kB / 0.5625 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1775, allocations: 0 / 0.5625 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.1782, allocations: 0.4999 MB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1782, allocations: 8.047 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.1782, allocations: 16 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1782, allocations: 4 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1783, allocations: 0 / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1783, allocations: 7.984 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1783, allocations: 0.5625 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.1786, allocations: 269 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.1787, allocations: 93.02 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1787, allocations: 4 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.1788, allocations: 8 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1788, allocations: 15.92 kB / 0.5634 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1788, allocations: 7.938 kB / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.179, allocations: 201.4 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.179, allocations: 0 / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1793, allocations: 31.94 kB / 0.5636 GB, free: 13.95 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002445/0.1818, allocations: 1.201 MB / 0.5648 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.182, allocations: 99.84 kB / 0.5649 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.182, allocations: 4 kB / 0.5649 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1821, allocations: 43.92 kB / 0.5649 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1825, allocations: 44.91 kB / 0.5649 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1849, allocations: 2.017 MB / 0.5669 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1853, allocations: 0.7239 MB / 0.5676 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.737e-05/0.1854, allocations: 33.39 kB / 0.5677 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.1855, allocations: 51.42 kB / 0.5677 GB, free: 9.789 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1855, allocations: 0 / 0.5677 GB, free: 9.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.2137, allocations: 4.37 MB / 0.572 GB, free: 5.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.204, allocations: 2.109 kB / 0.572 GB, free: 5.496 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.558513954747468] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 8.330799830146134 8.345005266 8.169929031 Calling exit ...