Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.0008276/0.0008276, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003569/0.003569, allocations: 160 kB / 24.7 MB, free: 9.43 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.8728/0.8728, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2818/0.2818, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.064e-05, allocations: 2.281 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.1854/0.1854, allocations: 1.718 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1865, allocations: 0.9641 MB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.1865, allocations: 2.688 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1868, allocations: 48.95 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1871, allocations: 97.58 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.1873, allocations: 81.5 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1874, allocations: 111.2 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.1875, allocations: 6.141 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.1876, allocations: 60.78 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.1876, allocations: 26.16 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1877, allocations: 2.562 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.1877, allocations: 44.62 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.1878, allocations: 30.72 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.1879, allocations: 18 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1881, allocations: 120.6 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1881, allocations: 3.469 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1881, allocations: 2.969 kB / 446.9 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1881, allocations: 0 / 446.9 MB, free: 43.06 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.0003962/0.1885, allocations: 350.4 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1885, allocations: 8.156 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1885, allocations: 14.02 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1887, allocations: 154.3 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1888, allocations: 3.25 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1888, allocations: 4.375 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1889, allocations: 59.02 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1889, allocations: 3.938 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1889, allocations: 0 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1889, allocations: 0 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.189, allocations: 22.59 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.1892, allocations: 235.1 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1893, allocations: 58.72 kB / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.1894, allocations: 24.12 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1894, allocations: 6.625 kB / 447.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.1895, allocations: 67.33 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.1895, allocations: 2.125 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003779/0.1898, allocations: 190.3 kB / 448 MB, free: 42.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.1899, allocations: 51.41 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.19, allocations: 217.5 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.19, allocations: 25.7 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.19, allocations: 109.5 kB / 448.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.19, allocations: 29.59 kB / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.1901, allocations: 22.38 kB / 448.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.1901, allocations: 328 kB / 448.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.1901, allocations: 15.69 kB / 448.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.1902, allocations: 42.09 kB / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.563e-05/0.1902, allocations: 69.19 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1902, allocations: 0 / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001044/0.1903, allocations: 108.1 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1904, allocations: 6.656 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1904, allocations: 3.469 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1904, allocations: 3.938 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.1904, allocations: 18.05 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1904, allocations: 0 / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.1905, allocations: 2.875 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1905, allocations: 6.875 kB / 449.1 MB, free: 41.28 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.573e-05/0.1905, allocations: 127 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.1905, allocations: 9.797 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.1907, allocations: 129.2 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1907, allocations: 2.438 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1907, allocations: 0 / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1907, allocations: 0 / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.191, allocations: 361 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.191, allocations: 0 / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.191, allocations: 11.73 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.191, allocations: 0 / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.191, allocations: 2.844 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.191, allocations: 7.875 kB / 449.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.191, allocations: 4.031 kB / 449.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1911, allocations: 218.7 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.1911, allocations: 7.078 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1912, allocations: 10.12 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.1912, allocations: 2.969 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1912, allocations: 6.172 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1912, allocations: 3.062 kB / 449.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.588e-05/0.1913, allocations: 164.3 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1913, allocations: 0 / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.1915, allocations: 29.77 kB / 450.1 MB, free: 40.5 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.0007653/0.1923, allocations: 495.5 kB / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1924, allocations: 60.44 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1924, allocations: 0 / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.1924, allocations: 32.42 kB / 450.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.1927, allocations: 45.56 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.193, allocations: 266 kB / 451 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.1931, allocations: 95.95 kB / 451.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.1931, allocations: 21.48 kB / 451.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1931, allocations: 3 kB / 451.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of Templates: time 0.002971/0.1961, allocations: 2.027 MB / 453.2 MB, free: 39.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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: 4.915013493038714]