Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 111.4 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002262/0.002262, allocations: 205.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.344/2.344, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4262/0.4262, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 77.09 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1824, allocations: 62.44 MB / 480.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.005744/0.1883, allocations: 1.673 MB / 481.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1899, allocations: 0.5417 MB / 482.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.19, allocations: 0 / 482.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.1904, allocations: 71.84 kB / 482.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.1909, allocations: 95.7 kB / 482.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.1915, allocations: 99.2 kB / 482.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.1917, allocations: 83.81 kB / 482.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1919, allocations: 19.98 kB / 482.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.192, allocations: 31.86 kB / 482.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1922, allocations: 51.81 kB / 482.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1922, allocations: 4 kB / 482.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.1924, allocations: 43.98 kB / 482.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.1925, allocations: 23.91 kB / 482.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.1926, allocations: 31.69 kB / 482.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.1928, allocations: 79.89 kB / 483 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1928, allocations: 4 kB / 483 MB, free: 2.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1929, allocations: 0 / 483 MB, free: 2.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1929, allocations: 0 / 483 MB, free: 2.77 MB / 350.1 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.0007216/0.1936, allocations: 411.2 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1937, allocations: 8.031 kB / 483.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.1937, allocations: 12.75 kB / 483.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.1941, allocations: 196.1 kB / 483.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1941, allocations: 384 / 483.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.1941, allocations: 8.375 kB / 483.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1944, allocations: 57.75 kB / 483.7 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.1944, allocations: 7.984 kB / 483.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1945, allocations: 0 / 483.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1945, allocations: 0 / 483.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1947, allocations: 31.97 kB / 483.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.1954, allocations: 300.8 kB / 484 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1955, allocations: 50.5 kB / 484 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.1956, allocations: 16.94 kB / 484.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1957, allocations: 0 / 484.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1957, allocations: 34.56 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.1958, allocations: 0 / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001611/0.1974, allocations: 244.9 kB / 484.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1975, allocations: 55.41 kB / 484.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.1978, allocations: 201.9 kB / 484.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1979, allocations: 25.7 kB / 484.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/0.198, allocations: 104.1 kB / 484.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.1981, allocations: 39.61 kB / 484.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.1982, allocations: 21.72 kB / 484.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1984, allocations: 322.8 kB / 485.1 MB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1986, allocations: 31.97 kB / 485.1 MB, free: 424 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1987, allocations: 27.92 kB / 485.1 MB, free: 396 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.199, allocations: 72.81 kB / 485.2 MB, free: 320 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1991, allocations: 7.938 kB / 485.2 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004191/0.1995, allocations: 109.6 kB / 485.3 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.1995, allocations: 4 kB / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.1996, allocations: 4 kB / 485.3 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1996, allocations: 0 / 485.3 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.1998, allocations: 19.98 kB / 485.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1998, allocations: 3.938 kB / 485.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.1999, allocations: 8.359 kB / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.1999, allocations: 8 kB / 485.4 MB, free: 148 kB / 350.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 0.0001788/0.2001, allocations: 125.8 kB / 485.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2002, allocations: 15.86 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.2007, allocations: 127 kB / 485.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.2008, allocations: 7.984 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2008, allocations: 0 / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2008, allocations: 3.938 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009718/0.2018, allocations: 423.7 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2018, allocations: 0 / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.202, allocations: 19.92 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.202, allocations: 3.938 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.202, allocations: 4 kB / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.202, allocations: 0 / 486.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.202, allocations: 4.031 kB / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.2025, allocations: 220.2 kB / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.2026, allocations: 88.95 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.2027, allocations: 0 / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.2028, allocations: 11.94 kB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.2029, allocations: 15.92 kB / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2029, allocations: 4 kB / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.2031, allocations: 153.8 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2032, allocations: 0 / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005051/0.2037, allocations: 20 kB / 486.6 MB, free: 14.81 MB / 366.1 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.001901/0.2056, allocations: 448 kB / 487 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.206, allocations: 91.81 kB / 487.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.206, allocations: 0 / 487.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.2062, allocations: 35.98 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.2069, allocations: 11.98 kB / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.208, allocations: 317.1 kB / 487.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.2085, allocations: 0.7174 MB / 488.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.2086, allocations: 15.44 kB / 488.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2086, allocations: 0 / 488.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.006577/0.2152, allocations: 1.795 MB / 490 MB, free: 11.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches