Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0008994/0.0008994, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.003614/0.003614, allocations: 159.9 kB / 24.7 MB, free: 9.434 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.9316/0.9316, allocations: 177.1 MB / 205 MB, free: 5.711 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.2816/0.2816, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.959e-05, allocations: 13.31 kB / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00283/0.00286, allocations: 1.662 MB / 442.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.003807, allocations: 0.5491 MB / 443.1 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.003878, allocations: 0 / 443.1 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.004448, allocations: 463 kB / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.004943, allocations: 291.2 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.005221, allocations: 141.2 kB / 444 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.005427, allocations: 179.6 kB / 444.1 MB, free: 436 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.005524, allocations: 8.234 kB / 444.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.005634, allocations: 127.8 kB / 444.3 MB, free: 296 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.005817, allocations: 247.5 kB / 444.5 MB, free: 48 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.005834, allocations: 4 kB / 444.5 MB, free: 44 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2052/0.211, allocations: 49.81 kB / 444.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.2112, allocations: 87.38 kB / 444.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.2113, allocations: 41.06 kB / 444.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.2117, allocations: 259 kB / 445 MB, free: 44.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2117, allocations: 0 / 445 MB, free: 44.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2117, allocations: 0 / 445 MB, free: 44.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.2117, allocations: 0 / 445 MB, free: 44.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005848/0.2123, allocations: 0.5874 MB / 445.5 MB, free: 44.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2123, allocations: 9.25 kB / 445.5 MB, free: 44.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.2124, allocations: 42.88 kB / 445.6 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2125, allocations: 254 kB / 445.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2125, allocations: 1.625 kB / 445.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.2126, allocations: 5.312 kB / 445.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.2127, allocations: 66.34 kB / 445.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2127, allocations: 192 / 445.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2127, allocations: 384 / 445.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2127, allocations: 3.938 kB / 445.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.2128, allocations: 42.45 kB / 446 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.2132, allocations: 335.2 kB / 446.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.2134, allocations: 56.72 kB / 446.3 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.2135, allocations: 33.98 kB / 446.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2135, allocations: 3.562 kB / 446.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.2135, allocations: 34 kB / 446.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.2135, allocations: 1.312 kB / 446.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008685/0.2144, allocations: 480.5 kB / 446.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.2144, allocations: 51.41 kB / 446.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.2149, allocations: 0.8595 MB / 447.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2149, allocations: 35.11 kB / 447.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.215, allocations: 216.5 kB / 448 MB, free: 43.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.2151, allocations: 38.12 kB / 448.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.2151, allocations: 25.23 kB / 448.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.2151, allocations: 370.1 kB / 448.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.2152, allocations: 39.06 kB / 448.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.2153, allocations: 43.53 kB / 448.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.2154, allocations: 109.8 kB / 448.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2154, allocations: 0 / 448.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000185/0.2156, allocations: 169.6 kB / 448.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2156, allocations: 5.594 kB / 448.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2156, allocations: 1.812 kB / 448.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2156, allocations: 3.328 kB / 448.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.2157, allocations: 32.94 kB / 448.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2157, allocations: 0 / 448.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.2157, allocations: 12.86 kB / 448.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.2158, allocations: 2.844 kB / 448.9 MB, free: 42.78 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 (11): * Single equations (assignments): 11 * 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 0.0001277/0.2159, allocations: 220.4 kB / 449.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.2159, allocations: 47.45 kB / 449.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.2162, allocations: 209.2 kB / 449.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2162, allocations: 2.531 kB / 449.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2162, allocations: 0 / 449.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2162, allocations: 0 / 449.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.2166, allocations: 0.5035 MB / 449.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2166, allocations: 3.125 kB / 449.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.2167, allocations: 26.73 kB / 449.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2167, allocations: 3 kB / 449.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.2167, allocations: 0 / 449.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2167, allocations: 2.906 kB / 449.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2167, allocations: 3.938 kB / 449.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2169, allocations: 297.4 kB / 450.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.2169, allocations: 35.28 kB / 450.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2169, allocations: 3 kB / 450.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/0.217, allocations: 8.484 kB / 450.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.217, allocations: 13.91 kB / 450.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.217, allocations: 5.031 kB / 450.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003458/0.2174, allocations: 0.6517 MB / 450.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2174, allocations: 0 / 450.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.2176, allocations: 27.25 kB / 450.9 MB, free: 41.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008079/0.2184, allocations: 0.4945 MB / 451.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.2186, allocations: 107.3 kB / 451.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2186, allocations: 0 / 451.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.2187, allocations: 54.5 kB / 451.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.219, allocations: 33.33 kB / 451.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/0.2198, allocations: 0.89 MB / 452.5 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.2199, allocations: 228.6 kB / 452.7 MB, free: 41.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.22, allocations: 18.3 kB / 452.7 MB, free: 41.08 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.22, allocations: 0 / 452.7 MB, free: 41.08 MB / 410.7 MB Notification: Performance of Templates: time 0.004884/0.2249, allocations: 4.28 MB / 457 MB, free: 40.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 5.069255395792425]