Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009571/0.0009571, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9176/0.9176, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.258/0.258, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.333e-05, allocations: 4.391 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.0027/0.002734, allocations: 1.714 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.004665, allocations: 1.668 MB / 443.1 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004765, allocations: 4 kB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.005068, allocations: 35.77 kB / 443.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.005437, allocations: 107.4 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.005654, allocations: 83.59 kB / 443.3 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.00583, allocations: 103.6 kB / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.00594, allocations: 11.98 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.586e-05/0.006036, allocations: 55.83 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.006141, allocations: 39.83 kB / 443.5 MB, free: 324 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.006159, allocations: 4 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.006347, allocations: 107.8 kB / 443.6 MB, free: 212 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.006403, allocations: 15.92 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.006444, allocations: 23.92 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1815/0.1879, allocations: 176 kB / 443.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1879, allocations: 0.75 kB / 443.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1879, allocations: 2.656 kB / 443.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1879, allocations: 0 / 443.8 MB, free: 43.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005431/0.1885, allocations: 350.2 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1885, allocations: 11.31 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.1886, allocations: 33.38 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.1886, allocations: 15.69 kB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1889, allocations: 144 kB / 444.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1889, allocations: 7.312 kB / 444.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1889, allocations: 9.125 kB / 444.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1891, allocations: 102.6 kB / 444.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1891, allocations: 1.531 kB / 444.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1891, allocations: 0 / 444.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1891, allocations: 2.625 kB / 444.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.1892, allocations: 22.27 kB / 444.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1895, allocations: 250.9 kB / 444.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1897, allocations: 61.12 kB / 444.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.1897, allocations: 21.59 kB / 444.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1897, allocations: 3.031 kB / 444.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.1899, allocations: 68.27 kB / 444.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1899, allocations: 3 kB / 444.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004067/0.1903, allocations: 181.7 kB / 445.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.1903, allocations: 80.58 kB / 445.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.1904, allocations: 169.2 kB / 445.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.1904, allocations: 30.98 kB / 445.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.1904, allocations: 99.33 kB / 445.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1905, allocations: 29.53 kB / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.1905, allocations: 22.28 kB / 445.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.1905, allocations: 328.3 kB / 445.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.1906, allocations: 24.73 kB / 445.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.1906, allocations: 70.47 kB / 445.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.47e-05/0.1907, allocations: 65.05 kB / 446 MB, free: 41.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1907, allocations: 0 / 446 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001076/0.1908, allocations: 104.4 kB / 446.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1908, allocations: 5.875 kB / 446.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1908, allocations: 3.203 kB / 446.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1908, allocations: 0 / 446.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.1909, allocations: 24.75 kB / 446.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1909, allocations: 0 / 446.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.1909, allocations: 2.969 kB / 446.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1909, allocations: 9.5 kB / 446.1 MB, free: 41.86 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 (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 5.025e-05/0.191, allocations: 128 kB / 446.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.191, allocations: 9.641 kB / 446.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.1911, allocations: 116.5 kB / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1911, allocations: 3.281 kB / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1911, allocations: 2.75 kB / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1911, allocations: 3.047 kB / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1914, allocations: 374.5 kB / 446.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1914, allocations: 5.625 kB / 446.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.1914, allocations: 11.69 kB / 446.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1914, allocations: 4.219 kB / 446.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1915, allocations: 0 / 446.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1915, allocations: 6.625 kB / 446.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1915, allocations: 0 / 446.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1916, allocations: 215.7 kB / 447 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.1916, allocations: 12.95 kB / 447 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1916, allocations: 2.875 kB / 447 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.1916, allocations: 10.78 kB / 447 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.1917, allocations: 6.25 kB / 447 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1917, allocations: 3.188 kB / 447 MB, free: 41.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.284e-05/0.1917, allocations: 130.6 kB / 447.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1917, allocations: 0 / 447.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.1919, allocations: 49.3 kB / 447.2 MB, free: 41.2 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.001044/0.193, allocations: 1.244 MB / 448.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1931, allocations: 61.88 kB / 448.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1931, allocations: 0 / 448.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.1932, allocations: 31.36 kB / 448.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1934, allocations: 43.81 kB / 448.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.1944, allocations: 1.609 MB / 450.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.1944, allocations: 83.84 kB / 450.3 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.41e-05/0.1945, allocations: 23.62 kB / 450.3 MB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.1945, allocations: 43.92 kB / 450.3 MB, free: 39.09 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1945, allocations: 3.062 kB / 450.3 MB, free: 39.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.214, allocations: 4.895 MB / 455.2 MB, free: 37.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/6.848, allocations: 5.25 kB / 455.2 MB, free: 37.56 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.894179697148502]