Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.929/1.929, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2432/0.2432, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003073/0.003073, allocations: 75.88 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1781, allocations: 62.44 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004972/0.1831, allocations: 1.789 MB / 481.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.1861, allocations: 1.017 MB / 482.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1862, allocations: 3.938 kB / 482.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.1866, allocations: 31.91 kB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.1871, allocations: 75.73 kB / 482.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1875, allocations: 67.81 kB / 482.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1877, allocations: 99.69 kB / 483 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1879, allocations: 15.98 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.188, allocations: 39.78 kB / 483.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1882, allocations: 39.72 kB / 483.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1882, allocations: 4 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1884, allocations: 39.98 kB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.1884, allocations: 19.92 kB / 483.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.1885, allocations: 27.8 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1888, allocations: 92.03 kB / 483.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1888, allocations: 0 / 483.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1888, allocations: 4 kB / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1888, allocations: 4 kB / 483.3 MB, free: 2.328 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008025/0.1897, allocations: 411 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1897, allocations: 8.875 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.1898, allocations: 12.75 kB / 483.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1902, allocations: 200.1 kB / 483.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1902, allocations: 8.359 kB / 483.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.1903, allocations: 8.125 kB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.1905, allocations: 57.67 kB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1906, allocations: 0 / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1906, allocations: 0 / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1906, allocations: 4 kB / 484 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1908, allocations: 19.92 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.1913, allocations: 288.9 kB / 484.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.1916, allocations: 62.56 kB / 484.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.1918, allocations: 24.84 kB / 484.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1918, allocations: 0 / 484.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.1921, allocations: 67.33 kB / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1921, allocations: 0 / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008487/0.193, allocations: 169.2 kB / 484.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1931, allocations: 59.41 kB / 484.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.1934, allocations: 183.3 kB / 484.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1934, allocations: 29.7 kB / 484.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.1935, allocations: 108 kB / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.1936, allocations: 15.75 kB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.1937, allocations: 25.7 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1939, allocations: 326.8 kB / 485.3 MB, free: 64 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.194, allocations: 20 kB / 485.4 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1941, allocations: 37.7 kB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1944, allocations: 65.62 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1944, allocations: 0 / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000379/0.1948, allocations: 101.6 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1949, allocations: 8 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1949, allocations: 0 / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1949, allocations: 8.016 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1951, allocations: 16.31 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1951, allocations: 4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.1952, allocations: 7.938 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1952, allocations: 4 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001468/0.1954, allocations: 125.8 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.1954, allocations: 7.906 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.1955, allocations: 17.39 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1955, allocations: 4 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1955, allocations: 4 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1955, allocations: 3.938 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.1962, allocations: 391.2 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.1963, allocations: 4 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.646e-05/0.1963, allocations: 8 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.1964, allocations: 11.91 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1964, allocations: 3.938 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1964, allocations: 4.125 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1964, allocations: 8.031 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.1969, allocations: 200.2 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.197, allocations: 81.02 kB / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.197, allocations: 11.94 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1972, allocations: 3.984 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.1973, allocations: 4 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.1973, allocations: 8 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.1975, allocations: 139.9 kB / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1976, allocations: 0 / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.1981, allocations: 24 kB / 486.7 MB, free: 14.62 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001844/0.1999, allocations: 463.3 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.2002, allocations: 51.97 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2002, allocations: 0 / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2004, allocations: 35.92 kB / 487.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.2009, allocations: 28.14 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.2016, allocations: 274.8 kB / 487.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.202, allocations: 0.7004 MB / 488.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.2021, allocations: 19.44 kB / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.808e-06/0.2022, allocations: 0 / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of Templates: time 0.006891/0.2091, allocations: 1.918 MB / 490.1 MB, free: 11.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches