Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0008323/0.0008323, 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.003438/0.003438, allocations: 163.5 kB / 24.7 MB, free: 9.426 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.8226/0.8226, allocations: 177.1 MB / 205 MB, free: 5.727 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.2403/0.2403, allocations: 34.25 MB / 295.7 MB, free: 0.707 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.001e-05, allocations: 2.281 kB / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.1921/0.1921, allocations: 1.617 MB / 445.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.1929, allocations: 0.5243 MB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.193, allocations: 0 / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1933, allocations: 107.1 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1935, allocations: 110.8 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1937, allocations: 90.94 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1939, allocations: 91.89 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.194, allocations: 12.23 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.194, allocations: 44.86 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.1941, allocations: 54.73 kB / 446.1 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1941, allocations: 2.938 kB / 446.1 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.1942, allocations: 47.56 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.1943, allocations: 25.89 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.1943, allocations: 13.84 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1945, allocations: 106.7 kB / 446.3 MB, free: 43.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1945, allocations: 5.188 kB / 446.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1945, allocations: 0 / 446.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1945, allocations: 0 / 446.3 MB, free: 43.42 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.000353/0.1948, allocations: 355 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1949, allocations: 12.31 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.1949, allocations: 8.016 kB / 446.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.195, allocations: 148.6 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-06/0.195, allocations: 384 / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.195, allocations: 3.219 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1951, allocations: 57.31 kB / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1952, allocations: 192 / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1952, allocations: 4.125 kB / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1952, allocations: 0 / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.1952, allocations: 35.5 kB / 446.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.1954, allocations: 235.9 kB / 447.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.1955, allocations: 38.12 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.1955, allocations: 28.22 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1956, allocations: 3.938 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.1956, allocations: 33.41 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1956, allocations: 0 / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005209/0.1961, allocations: 223.6 kB / 447.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.1961, allocations: 61.97 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1962, allocations: 233.9 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.1962, allocations: 28.52 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1963, allocations: 108.4 kB / 447.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1963, allocations: 31.81 kB / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1963, allocations: 25.22 kB / 447.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.501e-05/0.1964, allocations: 328.7 kB / 448.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.1964, allocations: 24.09 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.1964, allocations: 23.56 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.244e-05/0.1965, allocations: 61.19 kB / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1965, allocations: 0 / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.1966, allocations: 105.4 kB / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1966, allocations: 7.156 kB / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1966, allocations: 0 / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1966, allocations: 0 / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.1967, allocations: 18.34 kB / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1967, allocations: 1.75 kB / 448.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.1967, allocations: 16.62 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1967, allocations: 3.047 kB / 448.5 MB, free: 41.75 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 (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 5.149e-05/0.1968, allocations: 133 kB / 448.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.1968, allocations: 17.16 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.197, allocations: 120.5 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.197, allocations: 2.688 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.197, allocations: 3.188 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.197, allocations: 3.328 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1972, allocations: 348.8 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1972, allocations: 3.234 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.1973, allocations: 16.58 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1973, allocations: 2.688 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.1973, allocations: 3.188 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1973, allocations: 2.75 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1973, allocations: 3.938 kB / 449.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.1974, allocations: 212 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.1974, allocations: 6.453 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1974, allocations: 5.812 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.1974, allocations: 10.94 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.1975, allocations: 10.06 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1975, allocations: 2.969 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.584e-05/0.1975, allocations: 172.1 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1975, allocations: 0 / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.1977, allocations: 25.81 kB / 449.6 MB, free: 40.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0007179/0.1984, allocations: 493.3 kB / 450.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1985, allocations: 64.23 kB / 450.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1985, allocations: 4 kB / 450.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.1986, allocations: 39.22 kB / 450.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.1988, allocations: 15.3 kB / 450.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.1992, allocations: 292.7 kB / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.114e-05/0.1992, allocations: 100.7 kB / 450.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.1993, allocations: 17.34 kB / 450.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1993, allocations: 8 kB / 450.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of Templates: time 0.002431/0.2017, allocations: 1.858 MB / 452.5 MB, free: 40.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.607826124876738]