Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000965/0.000965, allocations: 101.8 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009591/0.0009594, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1892, allocations: 50.44 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002071/0.1913, allocations: 1.701 MB / 408.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.1915, allocations: 74.5 kB / 408.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.1915, allocations: 0 / 408.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.443e-05/0.1916, allocations: 7.922 kB / 408.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.1917, allocations: 15.86 kB / 408.8 MB, free: 26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.341e-05/0.1918, allocations: 16.47 kB / 408.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.1919, allocations: 59.73 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.192, allocations: 27.72 kB / 408.9 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.192, allocations: 23.88 kB / 409 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.192, allocations: 23.86 kB / 409 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1921, allocations: 4 kB / 409 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1921, allocations: 4 kB / 409 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.1921, allocations: 11.97 kB / 409 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.1921, allocations: 27.88 kB / 409 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.506e-05/0.1922, allocations: 53.34 kB / 409.1 MB, free: 25.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1922, allocations: 4 kB / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1922, allocations: 0 / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.1922, allocations: 0 / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003191/0.1926, allocations: 371.3 kB / 409.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.1926, allocations: 12.59 kB / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.1926, allocations: 12.83 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1928, allocations: 180.3 kB / 409.7 MB, free: 25.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.1928, allocations: 4.375 kB / 409.7 MB, free: 25.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1928, allocations: 12.38 kB / 409.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.1929, allocations: 72.98 kB / 409.7 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1929, allocations: 4.125 kB / 409.7 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.193, allocations: 7.938 kB / 409.8 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.193, allocations: 4 kB / 409.8 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.193, allocations: 31.92 kB / 409.8 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1935, allocations: 387.5 kB / 410.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/0.1936, allocations: 54.56 kB / 410.2 MB, free: 24.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.1936, allocations: 16.86 kB / 410.2 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.1936, allocations: 4 kB / 410.2 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.738e-06/0.1936, allocations: 30.56 kB / 410.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1936, allocations: 0 / 410.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004954/0.1941, allocations: 0.5214 MB / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.1942, allocations: 51.41 kB / 410.8 MB, free: 23.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.1942, allocations: 121.8 kB / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.1942, allocations: 29.7 kB / 411 MB, free: 23.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.1943, allocations: 92.12 kB / 411.1 MB, free: 23.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.1943, allocations: 35.53 kB / 411.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.1943, allocations: 33.62 kB / 411.1 MB, free: 23.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.1944, allocations: 326.8 kB / 411.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.1944, allocations: 12 kB / 411.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.1945, allocations: 61.14 kB / 411.5 MB, free: 22.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/0.1945, allocations: 93.02 kB / 411.6 MB, free: 22.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1945, allocations: 0 / 411.6 MB, free: 22.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001212/0.1947, allocations: 109.6 kB / 411.7 MB, free: 22.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.1947, allocations: 4.469 kB / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1947, allocations: 3.984 kB / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1947, allocations: 4 kB / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.1948, allocations: 24 kB / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1948, allocations: 8.031 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.1948, allocations: 11.92 kB / 411.8 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1948, allocations: 4 kB / 411.8 MB, free: 22.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 4.527e-05/0.1949, allocations: 127.2 kB / 411.9 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1949, allocations: 7.906 kB / 411.9 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.195, allocations: 8.375 kB / 411.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.195, allocations: 0 / 411.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.195, allocations: 3.938 kB / 411.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.195, allocations: 0 / 411.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.1953, allocations: 406.6 kB / 412.3 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1953, allocations: 4 kB / 412.3 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.1954, allocations: 27.86 kB / 412.4 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1954, allocations: 4 kB / 412.4 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1954, allocations: 8.156 kB / 412.4 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1954, allocations: 0 / 412.4 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1954, allocations: 0 / 412.4 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.1959, allocations: 1.082 MB / 413.5 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.196, allocations: 81.02 kB / 413.5 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.196, allocations: 8 kB / 413.5 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.454e-05/0.1961, allocations: 0 / 413.5 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.1961, allocations: 12.11 kB / 413.6 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1961, allocations: 7.938 kB / 413.6 MB, free: 20.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.823e-05/0.1961, allocations: 103.2 kB / 413.7 MB, free: 20.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1961, allocations: 0 / 413.7 MB, free: 20.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.1964, allocations: 16 kB / 413.7 MB, free: 20.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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 6.384e-05/0.1965, allocations: 103.2 kB / 413.8 MB, free: 20.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.1966, allocations: 64.42 kB / 413.8 MB, free: 20.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1966, allocations: 0 / 413.8 MB, free: 20.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.1967, allocations: 35.86 kB / 413.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.197, allocations: 11.98 kB / 413.9 MB, free: 20.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.1974, allocations: 487.9 kB / 414.4 MB, free: 19.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.58e-05/0.1975, allocations: 0.6965 MB / 415.1 MB, free: 19.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.1976, allocations: 12.42 kB / 415.1 MB, free: 19.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.1976, allocations: 11.44 kB / 415.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1976, allocations: 0 / 415.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of Templates: time 0.002135/0.1998, allocations: 0.6682 MB / 415.8 MB, free: 18.38 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches