Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001484/0.001484, allocations: 85.89 kB / 20.68 MB, free: 1.035 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.001528/0.001528, allocations: 159.1 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.516/1.516, allocations: 177 MB / 204.1 MB, free: 9.16 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.2654/0.2654, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.314e-05, allocations: 2.281 kB / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003106/0.00313, allocations: 1.68 MB / 444.4 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004307, allocations: 0.5602 MB / 444.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.004377, allocations: 4 kB / 444.9 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.004623, allocations: 47.8 kB / 445 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.004933, allocations: 91.55 kB / 445.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.005409, allocations: 182.9 kB / 445.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.005596, allocations: 87.7 kB / 445.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.0057, allocations: 24.22 kB / 445.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.005788, allocations: 39.89 kB / 445.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.005894, allocations: 43.88 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.005913, allocations: 4 kB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.006042, allocations: 47.92 kB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.006113, allocations: 27.91 kB / 445.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.006149, allocations: 15.94 kB / 445.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.006369, allocations: 111.6 kB / 445.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006372, allocations: 0 / 445.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006373, allocations: 0 / 445.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.006377, allocations: 0 / 445.6 MB, free: 2.305 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.0005387/0.006916, allocations: 341.7 kB / 446 MB, free: 1.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.006959, allocations: 8.031 kB / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.007009, allocations: 16.84 kB / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.007208, allocations: 141.5 kB / 446.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.007222, allocations: 8.359 kB / 446.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.007245, allocations: 4.375 kB / 446.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.00745, allocations: 74.16 kB / 446.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.007464, allocations: 4.125 kB / 446.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.007475, allocations: 4.312 kB / 446.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.007479, allocations: 4.375 kB / 446.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.007641, allocations: 43.91 kB / 446.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.008101, allocations: 256.4 kB / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.008353, allocations: 58.55 kB / 446.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.502e-05/0.008448, allocations: 28.97 kB / 446.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.008474, allocations: 4 kB / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.008499, allocations: 38.5 kB / 446.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.0085, allocations: 4 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001624/0.01012, allocations: 425.1 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.01017, allocations: 55.34 kB / 447.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.01036, allocations: 176.3 kB / 447.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.01039, allocations: 29.7 kB / 447.3 MB, free: 480 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.01046, allocations: 104.1 kB / 447.4 MB, free: 372 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.0105, allocations: 43.62 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.01056, allocations: 25.72 kB / 447.5 MB, free: 296 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1842/0.1947, allocations: 326.6 kB / 447.8 MB, free: 18.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.195, allocations: 50.31 kB / 447.9 MB, free: 18.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1951, allocations: 58.23 kB / 447.9 MB, free: 18.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.1954, allocations: 126 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1954, allocations: 0 / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003892/0.1958, allocations: 160.6 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1958, allocations: 9.469 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1958, allocations: 0 / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.1958, allocations: 1.188 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.196, allocations: 29.75 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.196, allocations: 1.578 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.1961, allocations: 13.2 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1961, allocations: 3.453 kB / 448.3 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 (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.0001005/0.1962, allocations: 132.5 kB / 448.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.1962, allocations: 13.27 kB / 448.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.1967, allocations: 192.6 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1967, allocations: 1.062 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1967, allocations: 4.641 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1967, allocations: 1.719 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.1974, allocations: 430.9 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1974, allocations: 1.062 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.1975, allocations: 36.08 kB / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1975, allocations: 4.812 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1976, allocations: 2.031 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1976, allocations: 1.766 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1976, allocations: 5.031 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.1979, allocations: 272.1 kB / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.198, allocations: 15.42 kB / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.198, allocations: 1.641 kB / 449.3 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1981, allocations: 9.594 kB / 449.4 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1981, allocations: 16.84 kB / 449.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1981, allocations: 3.328 kB / 449.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.37e-05/0.1982, allocations: 141.2 kB / 449.5 MB, free: 18.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1982, allocations: 0 / 449.5 MB, free: 18.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1985, allocations: 32.44 kB / 449.5 MB, free: 18.2 MB / 366.1 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.001781/0.2003, allocations: 481.9 kB / 450 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.2007, allocations: 128.6 kB / 450.1 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2007, allocations: 0 / 450.1 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.2008, allocations: 69.56 kB / 450.2 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.2012, allocations: 26.98 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.2019, allocations: 305.1 kB / 450.5 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.202, allocations: 100.3 kB / 450.6 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.782e-05/0.202, allocations: 32.36 kB / 450.7 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.2021, allocations: 16.62 kB / 450.7 MB, free: 17.67 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2021, allocations: 0 / 450.7 MB, free: 17.67 MB / 366.1 MB Notification: Performance of Templates: time 0.005034/0.2071, allocations: 1.624 MB / 452.3 MB, free: 17.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.931833624839783]