Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.0008327/0.0008327, 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.003983/0.003983, allocations: 162.2 kB / 24.7 MB, free: 9.426 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.9327/0.9327, allocations: 177.1 MB / 205 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.2538/0.2538, allocations: 32.79 MB / 294.2 MB, free: 1.195 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 440.9 MB, free: 3.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.21e-05, allocations: 2.281 kB / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002137/0.002159, allocations: 1.881 MB / 442.8 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003378, allocations: 1.072 MB / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.003463, allocations: 3.938 kB / 443.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006376/0.0041, allocations: 255.2 kB / 444.1 MB, free: 420 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.004451, allocations: 239 kB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.004622, allocations: 127.5 kB / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.179/0.1836, allocations: 277.7 kB / 444.8 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1838, allocations: 18.44 kB / 444.8 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1839, allocations: 161.3 kB / 445 MB, free: 44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1841, allocations: 193 kB / 445.1 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1841, allocations: 8.688 kB / 445.1 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1842, allocations: 62.73 kB / 445.2 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.1843, allocations: 73.55 kB / 445.3 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.1844, allocations: 48.59 kB / 445.3 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1846, allocations: 248.2 kB / 445.6 MB, free: 43.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1846, allocations: 5.188 kB / 445.6 MB, free: 43.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1846, allocations: 3.25 kB / 445.6 MB, free: 43.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1846, allocations: 0 / 445.6 MB, free: 43.95 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004658/0.1851, allocations: 0.5098 MB / 446.1 MB, free: 43.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1851, allocations: 11.47 kB / 446.1 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.1852, allocations: 40.39 kB / 446.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1854, allocations: 225 kB / 446.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1854, allocations: 7.406 kB / 446.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1854, allocations: 12.3 kB / 446.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1856, allocations: 113.9 kB / 446.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1856, allocations: 0 / 446.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1856, allocations: 3.938 kB / 446.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1856, allocations: 2.906 kB / 446.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.114e-05/0.1857, allocations: 53.88 kB / 446.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.186, allocations: 420.8 kB / 447 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.1863, allocations: 122.2 kB / 447.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.1863, allocations: 47.92 kB / 447.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1863, allocations: 3.062 kB / 447.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.1864, allocations: 122.7 kB / 447.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1865, allocations: 0 / 447.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007303/0.1872, allocations: 0.5265 MB / 447.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.1872, allocations: 82.98 kB / 447.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1875, allocations: 0.4999 MB / 448.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1875, allocations: 31.11 kB / 448.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.1875, allocations: 173.6 kB / 448.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1876, allocations: 77.02 kB / 448.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1876, allocations: 43.42 kB / 448.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.1877, allocations: 345.5 kB / 449 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.1877, allocations: 62.03 kB / 449.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.1878, allocations: 91.39 kB / 449.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1879, allocations: 166 kB / 449.3 MB, free: 42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1879, allocations: 0 / 449.3 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002155/0.1882, allocations: 243.2 kB / 449.6 MB, free: 41.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1882, allocations: 18.42 kB / 449.6 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1882, allocations: 0 / 449.6 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1882, allocations: 3.031 kB / 449.6 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.1883, allocations: 41.75 kB / 449.6 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1883, allocations: 2.531 kB / 449.6 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.1883, allocations: 19.44 kB / 449.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1883, allocations: 12.09 kB / 449.7 MB, free: 41.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.561e-05/0.1884, allocations: 172.5 kB / 449.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1884, allocations: 36.67 kB / 449.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.1887, allocations: 289 kB / 450.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1887, allocations: 2.75 kB / 450.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1887, allocations: 0 / 450.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1887, allocations: 6.688 kB / 450.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.1892, allocations: 0.676 MB / 450.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1892, allocations: 10.72 kB / 450.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.1892, allocations: 32.31 kB / 450.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1892, allocations: 2.781 kB / 450.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1892, allocations: 6.938 kB / 450.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1892, allocations: 5.938 kB / 450.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1892, allocations: 6.344 kB / 450.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1895, allocations: 444.8 kB / 451.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.1895, allocations: 33.02 kB / 451.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1895, allocations: 10.25 kB / 451.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.1896, allocations: 13.69 kB / 451.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1896, allocations: 25.91 kB / 451.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1896, allocations: 8.688 kB / 451.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002173/0.1899, allocations: 376.7 kB / 451.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1899, allocations: 0 / 451.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000234/0.1901, allocations: 53.16 kB / 451.8 MB, free: 40.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009246/0.191, allocations: 0.5637 MB / 452.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1912, allocations: 154.5 kB / 452.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.1913, allocations: 2.812 kB / 452.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.1913, allocations: 78.75 kB / 452.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1917, allocations: 69.14 kB / 452.7 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.1922, allocations: 0.6422 MB / 453.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.804e-05/0.1923, allocations: 179.5 kB / 453.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.1924, allocations: 30.67 kB / 453.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1924, allocations: 0 / 453.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of Templates: time 0.003567/0.1959, allocations: 4.026 MB / 457.6 MB, free: 39.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.866723352111876]