Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001898/0.001898, allocations: 83.77 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001654/0.001654, allocations: 164.2 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.467/1.467, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2116/0.2116, allocations: 34.29 MB / 295 MB, free: 14.55 MB / 286.1 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.285e-05, allocations: 2.281 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003322/0.003355, allocations: 1.611 MB / 444.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.005558, allocations: 1.258 MB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.005626, allocations: 0 / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.005867, allocations: 27.73 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.006247, allocations: 87.55 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.006604, allocations: 115.1 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.006803, allocations: 83.75 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.006917, allocations: 12 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.007006, allocations: 43.89 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.007119, allocations: 35.89 kB / 446 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.007141, allocations: 4 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.007357, allocations: 95.7 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.007411, allocations: 19.92 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.007451, allocations: 19.92 kB / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.007764, allocations: 159.5 kB / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.007766, allocations: 0 / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007767, allocations: 0 / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.00778, allocations: 0 / 446.2 MB, free: 1.793 MB / 366.1 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.0006061/0.008386, allocations: 337.6 kB / 446.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.00843, allocations: 12.03 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.008493, allocations: 16.84 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.008739, allocations: 137.6 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.008746, allocations: 384 / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.008777, allocations: 8.375 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.008994, allocations: 97.66 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.009007, allocations: 192 / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.009023, allocations: 8.125 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.009029, allocations: 4 kB / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.009151, allocations: 39.91 kB / 446.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.009607, allocations: 248.5 kB / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.00975, allocations: 62.45 kB / 447.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.009813, allocations: 24.95 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.009837, allocations: 4 kB / 447.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.009868, allocations: 30.56 kB / 447.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.00987, allocations: 0 / 447.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007461/0.01062, allocations: 205.3 kB / 447.5 MB, free: 464 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.01068, allocations: 81.11 kB / 447.5 MB, free: 364 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.01087, allocations: 152.3 kB / 447.7 MB, free: 204 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.01089, allocations: 25.7 kB / 447.7 MB, free: 172 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.01097, allocations: 96.12 kB / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.011, allocations: 27.75 kB / 447.8 MB, free: 44 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.01107, allocations: 21.7 kB / 447.9 MB, free: 16 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2087/0.2197, allocations: 322.1 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.2199, allocations: 27 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2201, allocations: 74.25 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.2203, allocations: 75.92 kB / 448.3 MB, free: 18.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2203, allocations: 3.656 kB / 448.3 MB, free: 18.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002917/0.2206, allocations: 109.2 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2206, allocations: 5.766 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2206, allocations: 2.281 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.2206, allocations: 1.969 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.2207, allocations: 21.19 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2208, allocations: 0.7969 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.2208, allocations: 5.781 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2208, allocations: 2.312 kB / 448.5 MB, free: 18.91 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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 7.835e-05/0.2209, allocations: 124.1 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.2209, allocations: 9.125 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.2213, allocations: 131.2 kB / 448.7 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2213, allocations: 4.188 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2213, allocations: 3.938 kB / 448.8 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2213, allocations: 1.688 kB / 448.8 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.2217, allocations: 342.5 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2217, allocations: 0 / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.2218, allocations: 23.38 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2218, allocations: 1.062 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2218, allocations: 5.656 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2218, allocations: 3.047 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2218, allocations: 1.125 kB / 449.1 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.2221, allocations: 199.6 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.2221, allocations: 14.48 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2221, allocations: 5.922 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.2222, allocations: 4.422 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.2222, allocations: 5.891 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.2222, allocations: 9.859 kB / 449.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.1e-05/0.2223, allocations: 117.6 kB / 449.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2223, allocations: 0 / 449.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005185/0.2228, allocations: 44.92 kB / 449.5 MB, free: 18.31 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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.001968/0.2248, allocations: 0.5275 MB / 450 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.2251, allocations: 75.03 kB / 450.1 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2251, allocations: 0 / 450.1 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.2252, allocations: 44.23 kB / 450.2 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.2255, allocations: 18.08 kB / 450.2 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.226, allocations: 214.9 kB / 450.4 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.073e-05/0.2261, allocations: 80.36 kB / 450.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.2262, allocations: 22.41 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.2262, allocations: 19.25 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2262, allocations: 0 / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of Templates: time 0.006152/0.2324, allocations: 1.923 MB / 452.4 MB, free: 17.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.905726373195648]