Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 86.02 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2466/0.2466, allocations: 34.25 MB / 294.8 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.732e-05, allocations: 4.812 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003181/0.003208, allocations: 1.591 MB / 444.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.0053, allocations: 1.242 MB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.005378, allocations: 8 kB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.005616, allocations: 31.72 kB / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.006002, allocations: 83.61 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.006371, allocations: 115.4 kB / 445.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.006548, allocations: 63.84 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.006655, allocations: 19.83 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.006741, allocations: 27.92 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.006864, allocations: 31.89 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.006889, allocations: 8 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.007102, allocations: 99.75 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.007159, allocations: 7.938 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.007203, allocations: 19.92 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.007537, allocations: 143.6 kB / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.00754, allocations: 0 / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.007542, allocations: 0 / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.007547, allocations: 0 / 446.2 MB, free: 1.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005791/0.008126, allocations: 321.7 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.008164, allocations: 15.97 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.008216, allocations: 4.891 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.008434, allocations: 145.6 kB / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.008445, allocations: 384 / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.008471, allocations: 4.375 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.008677, allocations: 89.66 kB / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.008692, allocations: 4.141 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.008704, allocations: 384 / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.008711, allocations: 4.375 kB / 446.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.008821, allocations: 27.92 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.009222, allocations: 232.5 kB / 447 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.009461, allocations: 42.56 kB / 447 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.009522, allocations: 20.94 kB / 447 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.00954, allocations: 0 / 447 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.009566, allocations: 30.56 kB / 447.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.009567, allocations: 0 / 447.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006672/0.01023, allocations: 161.5 kB / 447.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.0103, allocations: 81.11 kB / 447.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.01047, allocations: 144.2 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.0105, allocations: 25.7 kB / 447.5 MB, free: 336 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.01056, allocations: 96.12 kB / 447.6 MB, free: 236 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.01059, allocations: 23.8 kB / 447.6 MB, free: 212 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.01064, allocations: 17.66 kB / 447.6 MB, free: 188 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1959/0.2066, allocations: 319.9 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.2067, allocations: 17.8 kB / 447.9 MB, free: 19.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2068, allocations: 67.11 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.207, allocations: 52.27 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.207, allocations: 1.031 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000239/0.2072, allocations: 95.45 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2072, allocations: 6.625 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2072, allocations: 0 / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2073, allocations: 0 / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.2073, allocations: 13.28 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2073, allocations: 0 / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.2074, allocations: 6.594 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.2074, allocations: 2.656 kB / 448.2 MB, free: 18.93 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 (5): * Single equations (assignments): 5 * 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.31e-05/0.2075, allocations: 115.4 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.2075, allocations: 12.78 kB / 448.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.2078, allocations: 102.4 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2078, allocations: 2.047 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2078, allocations: 3.938 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2078, allocations: 1.359 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.2082, allocations: 293.5 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2082, allocations: 0 / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.2083, allocations: 18.03 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2083, allocations: 1.734 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2083, allocations: 7.375 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2083, allocations: 1.766 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2083, allocations: 2.125 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.2085, allocations: 182.7 kB / 448.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.2086, allocations: 9.516 kB / 448.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2086, allocations: 7.969 kB / 448.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.2087, allocations: 5.469 kB / 448.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2087, allocations: 3.703 kB / 448.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2087, allocations: 2.859 kB / 448.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.475e-05/0.2088, allocations: 114.5 kB / 449 MB, free: 18.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2088, allocations: 0 / 449 MB, free: 18.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.2091, allocations: 43.58 kB / 449.1 MB, free: 18.34 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 (5): * Single equations (assignments): 5 * 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.001879/0.211, allocations: 0.5178 MB / 449.6 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2112, allocations: 55.95 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2112, allocations: 0 / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.2113, allocations: 29.36 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.2117, allocations: 13.73 kB / 449.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.2121, allocations: 181.5 kB / 449.9 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.185e-05/0.2121, allocations: 82.55 kB / 450 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.2122, allocations: 26.02 kB / 450 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.2123, allocations: 17.97 kB / 450 MB, free: 17.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2123, allocations: 0 / 450 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Templates: time 0.005353/0.2176, allocations: 1.817 MB / 451.8 MB, free: 17.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.061885088682175]