Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.0009286/0.0009286, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001012/0.001012, allocations: 156.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.9169/0.9169, allocations: 177 MB / 204.1 MB, free: 5.766 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.2453/0.2453, allocations: 34.24 MB / 294.8 MB, free: 0.707 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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.887e-05, allocations: 6.219 kB / 442.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.1765/0.1765, allocations: 2.236 MB / 444.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.178, allocations: 1.352 MB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1781, allocations: 6.969 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.1785, allocations: 286 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.1789, allocations: 352.4 kB / 446.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1792, allocations: 219.7 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.1795, allocations: 0.5763 MB / 447.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1797, allocations: 37.5 kB / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1799, allocations: 295.2 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1801, allocations: 261.1 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1801, allocations: 19.94 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.1802, allocations: 58.67 kB / 447.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.751e-05/0.1803, allocations: 121.9 kB / 448 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.1803, allocations: 104.6 kB / 448.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1806, allocations: 413.7 kB / 448.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1806, allocations: 0 / 448.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1806, allocations: 0 / 448.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1807, allocations: 2.906 kB / 448.5 MB, free: 41.71 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006598/0.1813, allocations: 0.7302 MB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1814, allocations: 15.22 kB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.1814, allocations: 44.77 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.1814, allocations: 59.41 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.1818, allocations: 348.6 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1818, allocations: 10.16 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1819, allocations: 19.52 kB / 449.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1821, allocations: 211.4 kB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1821, allocations: 10.55 kB / 450 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1821, allocations: 10.72 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1821, allocations: 2.438 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1823, allocations: 110.7 kB / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.1829, allocations: 0.8161 MB / 450.9 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.1832, allocations: 290.9 kB / 451.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1833, allocations: 90.38 kB / 451.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1833, allocations: 9.844 kB / 451.3 MB, free: 39.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.1836, allocations: 233.9 kB / 451.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.764e-06/0.1836, allocations: 0 / 451.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001103/0.1847, allocations: 1.073 MB / 452.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.1847, allocations: 167.3 kB / 452.8 MB, free: 38.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.1851, allocations: 0.6738 MB / 453.4 MB, free: 38.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1852, allocations: 36.39 kB / 453.5 MB, free: 38.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.1852, allocations: 240.1 kB / 453.7 MB, free: 38.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.1853, allocations: 133.1 kB / 453.8 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.1854, allocations: 69.55 kB / 453.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.1854, allocations: 375.3 kB / 454.3 MB, free: 37.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1856, allocations: 106.2 kB / 454.4 MB, free: 37.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1857, allocations: 194.9 kB / 454.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.186, allocations: 309.6 kB / 454.9 MB, free: 37.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.186, allocations: 0 / 454.9 MB, free: 37.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003932/0.1864, allocations: 416.7 kB / 455.3 MB, free: 37.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1864, allocations: 6.219 kB / 455.3 MB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1864, allocations: 6.719 kB / 455.3 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1864, allocations: 16.09 kB / 455.3 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1866, allocations: 84.88 kB / 455.4 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1866, allocations: 6.5 kB / 455.4 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1867, allocations: 20.06 kB / 455.4 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1867, allocations: 15.41 kB / 455.4 MB, free: 37.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001281/0.1869, allocations: 203 kB / 455.6 MB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.1869, allocations: 68.23 kB / 455.7 MB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.1874, allocations: 0.4916 MB / 456.2 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1874, allocations: 9.781 kB / 456.2 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1874, allocations: 4.188 kB / 456.2 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1874, allocations: 0 / 456.2 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.1883, allocations: 1.27 MB / 457.5 MB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1883, allocations: 3.188 kB / 457.5 MB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.1884, allocations: 62.62 kB / 457.5 MB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1884, allocations: 3.344 kB / 457.5 MB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1884, allocations: 13.77 kB / 457.5 MB, free: 36.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1884, allocations: 6.469 kB / 457.5 MB, free: 36.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1884, allocations: 3.125 kB / 457.5 MB, free: 36.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.1889, allocations: 0.8624 MB / 458.4 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.1889, allocations: 57.61 kB / 458.5 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.1889, allocations: 13.88 kB / 458.5 MB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.1891, allocations: 17.72 kB / 458.5 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.1892, allocations: 51.55 kB / 458.5 MB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.1892, allocations: 26.41 kB / 458.6 MB, free: 35.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.1895, allocations: 0.4887 MB / 459.1 MB, free: 35.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1895, allocations: 480 / 459.1 MB, free: 35.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.1899, allocations: 93.95 kB / 459.2 MB, free: 35.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001332/0.1912, allocations: 1.808 MB / 461 MB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.1916, allocations: 301.5 kB / 461.3 MB, free: 33.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1916, allocations: 3.031 kB / 461.3 MB, free: 33.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1918, allocations: 143 kB / 461.4 MB, free: 33.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.1925, allocations: 153.4 kB / 461.5 MB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.1958, allocations: 4.612 MB / 466.2 MB, free: 30.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.1959, allocations: 265.8 kB / 466.4 MB, free: 30.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.1961, allocations: 81.05 kB / 466.5 MB, free: 30.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.1962, allocations: 190.6 kB / 466.7 MB, free: 30.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1963, allocations: 0 / 466.7 MB, free: 30.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.2188, allocations: 12.28 MB / 479 MB, free: 28.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/7.045, allocations: 8.406 kB / 479 MB, free: 28.46 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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: 9.098775915801525]