Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001133/0.001133, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001221/0.001221, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8816/0.8816, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2573/0.2573, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 3.938 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.361e-05, allocations: 2.281 kB / 442.3 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.1716/0.1716, allocations: 1.73 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1727, allocations: 0.9757 MB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.1728, allocations: 3.938 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1731, allocations: 111.4 kB / 445.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1734, allocations: 130.3 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1736, allocations: 74.75 kB / 445.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1738, allocations: 137.3 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1739, allocations: 7.562 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.174, allocations: 68.17 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.454e-05/0.1741, allocations: 65.97 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1741, allocations: 9.406 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.296e-05/0.1742, allocations: 59.95 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.1742, allocations: 32.55 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.1743, allocations: 22.97 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1745, allocations: 146.9 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1745, allocations: 3.938 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1745, allocations: 0 / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1745, allocations: 0 / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004256/0.1749, allocations: 367.6 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1749, allocations: 9.25 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.49e-05/0.175, allocations: 43.73 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.175, allocations: 14.38 kB / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1752, allocations: 167.1 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1752, allocations: 4 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1752, allocations: 3.094 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1754, allocations: 64.72 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1754, allocations: 192 / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1754, allocations: 4.125 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1754, allocations: 4.344 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.1754, allocations: 21.92 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.1757, allocations: 278.2 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1759, allocations: 66.12 kB / 446.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.176, allocations: 19.66 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.176, allocations: 2.875 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.1761, allocations: 69.12 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.1761, allocations: 0 / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005999/0.1767, allocations: 260.5 kB / 447.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1767, allocations: 56.77 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1769, allocations: 257.5 kB / 447.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.1769, allocations: 29.7 kB / 447.5 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.1769, allocations: 116.4 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.177, allocations: 34.25 kB / 447.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.177, allocations: 25.47 kB / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.177, allocations: 334.4 kB / 448 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.1771, allocations: 30.7 kB / 448 MB, free: 41.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.475e-05/0.1771, allocations: 46.5 kB / 448.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.1772, allocations: 78.67 kB / 448.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1772, allocations: 3.812 kB / 448.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001292/0.1773, allocations: 141.6 kB / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1773, allocations: 5.875 kB / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1773, allocations: 0 / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1774, allocations: 0 / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.1774, allocations: 24.62 kB / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1774, allocations: 2.875 kB / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.1774, allocations: 8.797 kB / 448.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1775, allocations: 2.906 kB / 448.4 MB, free: 41.04 MB / 410.7 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 (13): * Single equations (assignments): 13 * 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 6.315e-05/0.1775, allocations: 137.1 kB / 448.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.1775, allocations: 17.78 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.1777, allocations: 162.9 kB / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1777, allocations: 2.938 kB / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1777, allocations: 0 / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1777, allocations: 3.281 kB / 448.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.1781, allocations: 432.8 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1781, allocations: 0 / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.1781, allocations: 14.06 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1781, allocations: 2.969 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1781, allocations: 14.95 kB / 449.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1781, allocations: 3.938 kB / 449.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1781, allocations: 2.438 kB / 449.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1783, allocations: 240.7 kB / 449.4 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.1783, allocations: 17.25 kB / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1783, allocations: 6.719 kB / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.1783, allocations: 6.688 kB / 449.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1784, allocations: 9.781 kB / 449.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1784, allocations: 8.312 kB / 449.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.1785, allocations: 195.7 kB / 449.6 MB, free: 40.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1785, allocations: 0 / 449.6 MB, free: 40.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.1787, allocations: 34.28 kB / 449.6 MB, free: 40.14 MB / 410.7 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 (12): * Single equations (assignments): 10 * 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.001021/0.1797, allocations: 1.219 MB / 450.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1798, allocations: 73.64 kB / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1798, allocations: 2.875 kB / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.1799, allocations: 42.06 kB / 451 MB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1801, allocations: 38.06 kB / 451 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1813, allocations: 1.905 MB / 452.9 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.1813, allocations: 107.2 kB / 453 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.1814, allocations: 23.33 kB / 453 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.1815, allocations: 47.11 kB / 453.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1815, allocations: 0 / 453.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.196, allocations: 4.852 MB / 457.9 MB, free: 36.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.767/6.963, allocations: 3.094 kB / 457.9 MB, free: 36.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.90739896800369]