Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.0008476/0.0008476, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003518/0.003518, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8527/0.8527, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2377/0.2377, allocations: 34.24 MB / 295.6 MB, free: 0.6797 MB / 266.7 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.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.584e-05, allocations: 2.281 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.1902/0.1903, allocations: 1.648 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.191, allocations: 0.5337 MB / 445.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.191, allocations: 2.969 kB / 445.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1913, allocations: 96.77 kB / 445.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1915, allocations: 115.6 kB / 445.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.1917, allocations: 99.27 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1918, allocations: 99.14 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1919, allocations: 17.83 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.192, allocations: 54.09 kB / 446.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.1921, allocations: 58.22 kB / 446.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1921, allocations: 9.953 kB / 446.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.1921, allocations: 50.94 kB / 446.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.1922, allocations: 30.12 kB / 446.2 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.1922, allocations: 24.03 kB / 446.3 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1924, allocations: 119.3 kB / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.1924, allocations: 0 / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.458e-06/0.1924, allocations: 3.188 kB / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1925, allocations: 2.625 kB / 446.4 MB, free: 43.31 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000357/0.1928, allocations: 355.1 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1928, allocations: 14.86 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.1929, allocations: 14.53 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.193, allocations: 154.4 kB / 446.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.193, allocations: 7.031 kB / 446.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.193, allocations: 3.156 kB / 446.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1931, allocations: 69.55 kB / 447 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1932, allocations: 6.594 kB / 447 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1932, allocations: 384 / 447 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1932, allocations: 3.188 kB / 447 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.67e-05/0.1932, allocations: 43.88 kB / 447 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.1935, allocations: 269.2 kB / 447.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.277e-05/0.1936, allocations: 57.67 kB / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.1936, allocations: 22.72 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1936, allocations: 3.938 kB / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.1936, allocations: 40 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1936, allocations: 0 / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006319/0.1943, allocations: 316.2 kB / 447.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1943, allocations: 57.42 kB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1944, allocations: 231.5 kB / 448 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.1944, allocations: 28.39 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.1945, allocations: 105.3 kB / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1945, allocations: 49.73 kB / 448.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.1945, allocations: 25.77 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.381e-05/0.1945, allocations: 332 kB / 448.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.1946, allocations: 38.83 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.1946, allocations: 42.47 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.433e-05/0.1947, allocations: 89.89 kB / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1947, allocations: 0 / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001293/0.1949, allocations: 135.3 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1949, allocations: 5.719 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1949, allocations: 5.641 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1949, allocations: 4 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.195, allocations: 27.36 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.195, allocations: 2.969 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.195, allocations: 14.61 kB / 448.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.195, allocations: 6.125 kB / 448.9 MB, free: 41.46 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 (13): * Single equations (assignments): 13 * 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.909e-05/0.1951, allocations: 137.1 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.1951, allocations: 16.66 kB / 449.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1953, allocations: 160.2 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1953, allocations: 2.844 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1953, allocations: 0 / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1953, allocations: 0 / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.1956, allocations: 417.7 kB / 449.6 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1956, allocations: 0 / 449.6 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.1956, allocations: 23.48 kB / 449.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1956, allocations: 2.875 kB / 449.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1957, allocations: 6.75 kB / 449.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1957, allocations: 0 / 449.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1957, allocations: 7.188 kB / 449.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1958, allocations: 249.4 kB / 449.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.1958, allocations: 10.78 kB / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1958, allocations: 6.812 kB / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.1959, allocations: 2.781 kB / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.1959, allocations: 15.98 kB / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.1959, allocations: 6.688 kB / 450 MB, free: 40.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.615e-05/0.196, allocations: 188.5 kB / 450.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.196, allocations: 0 / 450.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000172/0.1961, allocations: 25.59 kB / 450.2 MB, free: 40.61 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 (13): * Single equations (assignments): 13 * 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.0007472/0.1969, allocations: 489.9 kB / 450.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.197, allocations: 90.48 kB / 450.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.197, allocations: 0 / 450.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.1971, allocations: 52.53 kB / 450.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1974, allocations: 17 kB / 450.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.1978, allocations: 341 kB / 451.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.426e-05/0.1978, allocations: 107.7 kB / 451.2 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.1979, allocations: 24.31 kB / 451.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1979, allocations: 0 / 451.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of Templates: time 0.002594/0.2005, allocations: 2.141 MB / 453.4 MB, free: 39.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.785943791270256]