Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.0008573/0.0008573, 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.004155/0.004155, allocations: 160.6 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.8697/0.8697, allocations: 177.1 MB / 205 MB, free: 5.75 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.2568/0.2568, allocations: 34.26 MB / 295.7 MB, free: 0.6836 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.819e-05/3.994e-05, allocations: 7.344 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.2037/0.2038, allocations: 1.72 MB / 445.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2048, allocations: 0.9648 MB / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.2049, allocations: 0 / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.2052, allocations: 61.55 kB / 446.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.2055, allocations: 103.4 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.2056, allocations: 79.44 kB / 446.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.2058, allocations: 110.8 kB / 446.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2059, allocations: 3.031 kB / 446.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.206, allocations: 60.94 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.206, allocations: 30.06 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.2061, allocations: 2.469 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-05/0.2061, allocations: 44.86 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.2062, allocations: 33.22 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.2062, allocations: 26.2 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.2064, allocations: 138.5 kB / 446.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2064, allocations: 0 / 446.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2064, allocations: 0 / 446.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2064, allocations: 0 / 446.9 MB, free: 43.04 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.0004197/0.2069, allocations: 367.5 kB / 447.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2069, allocations: 8.25 kB / 447.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.2069, allocations: 20.81 kB / 447.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.2072, allocations: 166 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2072, allocations: 384 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.2072, allocations: 3.188 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2073, allocations: 57.98 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2073, allocations: 3.938 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2073, allocations: 0 / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2074, allocations: 2.625 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.2074, allocations: 26.45 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.2077, allocations: 241.8 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.2078, allocations: 56.06 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.2078, allocations: 20.8 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.2078, allocations: 5.859 kB / 447.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.2079, allocations: 67.88 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2079, allocations: 0 / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004113/0.2083, allocations: 199.7 kB / 448.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.2084, allocations: 57.94 kB / 448.2 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.2085, allocations: 276.4 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.2085, allocations: 25.7 kB / 448.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.2086, allocations: 115.7 kB / 448.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.2086, allocations: 24.8 kB / 448.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.2086, allocations: 19.53 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.2087, allocations: 335.4 kB / 449 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.2087, allocations: 22.98 kB / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.2087, allocations: 37.03 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.2088, allocations: 71.16 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2088, allocations: 0 / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.2089, allocations: 102.9 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2089, allocations: 5.969 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2089, allocations: 0 / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2089, allocations: 3.938 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.209, allocations: 21.94 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.209, allocations: 0 / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.209, allocations: 4.906 kB / 449.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.209, allocations: 2.719 kB / 449.2 MB, free: 41.2 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 6.453e-05/0.2091, allocations: 138.7 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.2091, allocations: 23.73 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.2093, allocations: 125.1 kB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2093, allocations: 2.75 kB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2093, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2093, allocations: 6.297 kB / 449.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2095, allocations: 364.5 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2095, allocations: 0 / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.2096, allocations: 8.5 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2096, allocations: 0 / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.2096, allocations: 9.938 kB / 449.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2096, allocations: 3.938 kB / 449.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2096, allocations: 5.875 kB / 449.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.2097, allocations: 218.6 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.2097, allocations: 13.47 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2097, allocations: 4.031 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.2098, allocations: 3.031 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.2098, allocations: 14.08 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.2098, allocations: 6.156 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.22e-05/0.2099, allocations: 213.1 kB / 450.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2099, allocations: 0 / 450.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.2101, allocations: 27.62 kB / 450.4 MB, free: 40.39 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.000798/0.2109, allocations: 498.5 kB / 450.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.211, allocations: 57.33 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.211, allocations: 0 / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.2111, allocations: 32.64 kB / 451 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.2113, allocations: 34.2 kB / 451 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.2117, allocations: 325.9 kB / 451.3 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.927e-05/0.2117, allocations: 104.5 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.2118, allocations: 17.27 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2118, allocations: 2.781 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002731/0.2145, allocations: 2.172 MB / 453.6 MB, free: 39.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.868292755447328]