Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0008219/0.0008219, 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.004076/0.004076, allocations: 160.2 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.8832/0.8832, allocations: 177.1 MB / 205 MB, free: 5.734 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.2538/0.2538, 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.106e-05, allocations: 8.25 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.2091/0.2092, allocations: 1.649 MB / 445.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.2106, allocations: 1.272 MB / 446.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.2107, allocations: 1.625 kB / 446.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.2109, allocations: 35.75 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.2112, allocations: 85.83 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.2115, allocations: 173.7 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.2117, allocations: 78.36 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2118, allocations: 18.06 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.2118, allocations: 46.05 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.2119, allocations: 26.06 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.212, allocations: 2.844 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2121, allocations: 100.7 kB / 446.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.2122, allocations: 27.33 kB / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.2122, allocations: 13.11 kB / 447 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.2124, allocations: 158 kB / 447.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2124, allocations: 0 / 447.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2124, allocations: 0 / 447.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2124, allocations: 0 / 447.1 MB, free: 42.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003996/0.2128, allocations: 342.9 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2128, allocations: 11.52 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2129, allocations: 8.516 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.213, allocations: 135.6 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.213, allocations: 10.75 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.2131, allocations: 384 / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.2132, allocations: 99.97 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2132, allocations: 3.031 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2132, allocations: 4.125 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2132, allocations: 0 / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.2133, allocations: 45.09 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.2136, allocations: 250.6 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/0.2137, allocations: 46.19 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.2137, allocations: 31.69 kB / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2137, allocations: 4 kB / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2137, allocations: 37.44 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2137, allocations: 0 / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005116/0.2143, allocations: 228.4 kB / 448.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2143, allocations: 84.33 kB / 448.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.2144, allocations: 144 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.2144, allocations: 25.7 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.2144, allocations: 94.08 kB / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.2144, allocations: 29.39 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.2145, allocations: 25.66 kB / 448.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.37e-05/0.2145, allocations: 324.2 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.2146, allocations: 34.77 kB / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.2146, allocations: 87.59 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.2147, allocations: 86.84 kB / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2147, allocations: 2.781 kB / 449.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001445/0.2149, allocations: 124.4 kB / 449.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2149, allocations: 2.969 kB / 449.4 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2149, allocations: 4 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2149, allocations: 2.875 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-05/0.215, allocations: 24.86 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.215, allocations: 3.938 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.215, allocations: 9.141 kB / 449.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.215, allocations: 2.969 kB / 449.5 MB, free: 41.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.287e-05/0.2151, allocations: 120.8 kB / 449.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.2151, allocations: 9.359 kB / 449.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.2153, allocations: 149.2 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2153, allocations: 0 / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2153, allocations: 0 / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2153, allocations: 2.188 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.2156, allocations: 355.1 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2156, allocations: 4 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.2157, allocations: 21.31 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2157, allocations: 0 / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2157, allocations: 2.75 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2157, allocations: 0 / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2157, allocations: 0 / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.2158, allocations: 222.8 kB / 450.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.2158, allocations: 6.984 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.2159, allocations: 10.22 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.2159, allocations: 9.062 kB / 450.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.2159, allocations: 10.05 kB / 450.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.2159, allocations: 0 / 450.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.499e-05/0.216, allocations: 116.6 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.216, allocations: 0 / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000197/0.2162, allocations: 47.98 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000838/0.217, allocations: 0.5366 MB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.2172, allocations: 91.27 kB / 451.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2172, allocations: 0 / 451.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/0.2173, allocations: 47.84 kB / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.2175, allocations: 19.89 kB / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.2179, allocations: 238.5 kB / 451.4 MB, free: 39.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.218, allocations: 91.14 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.218, allocations: 23.97 kB / 451.6 MB, free: 39.78 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.218, allocations: 0 / 451.6 MB, free: 39.78 MB / 410.7 MB Notification: Performance of Templates: time 0.002909/0.2209, allocations: 2.231 MB / 453.8 MB, free: 39.54 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.866053775884211]