Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6197/0.6197, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001635/0.001636, allocations: 143.2 kB / 151.9 MB, free: 4.973 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002435, allocations: 4 kB / 184.9 MB, free: 3.914 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.143, allocations: 25.16 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04192/0.185, allocations: 33.62 MB / 243.7 MB, free: 208 kB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.1853, allocations: 63.97 kB / 243.7 MB, free: 144 kB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007363/0.1926, allocations: 2.819 MB / 246.5 MB, free: 13.33 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1927, allocations: 0 / 246.5 MB, free: 13.33 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1927, allocations: 4 kB / 246.5 MB, free: 13.32 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005002/0.1932, allocations: 434.9 kB / 247 MB, free: 12.85 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1933, allocations: 12.03 kB / 247 MB, free: 12.84 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1933, allocations: 27.5 kB / 247 MB, free: 12.82 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1935, allocations: 212.3 kB / 247.2 MB, free: 12.57 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1936, allocations: 12 kB / 247.2 MB, free: 12.56 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.1936, allocations: 23.91 kB / 247.3 MB, free: 12.54 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.1939, allocations: 168.1 kB / 247.4 MB, free: 12.36 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1939, allocations: 4 kB / 247.4 MB, free: 12.35 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.1939, allocations: 8 kB / 247.4 MB, free: 12.34 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.194, allocations: 8 kB / 247.4 MB, free: 12.34 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.1941, allocations: 103.8 kB / 247.5 MB, free: 12.23 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1953, allocations: 0.7717 MB / 248.3 MB, free: 11.39 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1955, allocations: 115.8 kB / 248.4 MB, free: 11.25 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1955, allocations: 5.812 kB / 248.4 MB, free: 11.25 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1956, allocations: 34.56 kB / 248.5 MB, free: 11.2 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.1956, allocations: 0 / 248.5 MB, free: 11.2 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.00032/0.1959, allocations: 141.5 kB / 248.6 MB, free: 11.06 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1959, allocations: 106.8 kB / 248.7 MB, free: 10.93 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1961, allocations: 188.6 kB / 248.9 MB, free: 10.74 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1962, allocations: 29.7 kB / 248.9 MB, free: 10.71 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.1963, allocations: 140 kB / 249.1 MB, free: 10.56 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1963, allocations: 55.19 kB / 249.1 MB, free: 10.51 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-06/0.1963, allocations: 8 kB / 249.1 MB, free: 10.5 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1965, allocations: 331.4 kB / 249.4 MB, free: 10.17 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.1966, allocations: 36.45 kB / 249.5 MB, free: 10.13 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1967, allocations: 141.1 kB / 249.6 MB, free: 9.949 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1968, allocations: 52 kB / 249.7 MB, free: 9.898 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1968, allocations: 0 / 249.7 MB, free: 9.898 MB / 186.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002903/0.1971, allocations: 213.1 kB / 249.9 MB, free: 9.684 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1971, allocations: 7.953 kB / 249.9 MB, free: 9.676 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1972, allocations: 6.219 kB / 249.9 MB, free: 9.672 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1972, allocations: 12 kB / 249.9 MB, free: 9.66 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1973, allocations: 49.97 kB / 249.9 MB, free: 9.613 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1974, allocations: 4 kB / 250 MB, free: 9.609 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1975, allocations: 31.59 kB / 250 MB, free: 9.578 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1975, allocations: 8 kB / 250 MB, free: 9.57 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.1976, allocations: 130.3 kB / 250.1 MB, free: 9.434 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.1977, allocations: 19.81 kB / 250.1 MB, free: 9.414 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.1977, allocations: 28.94 kB / 250.2 MB, free: 9.383 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1978, allocations: 11.94 kB / 250.2 MB, free: 9.371 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1978, allocations: 0 / 250.2 MB, free: 9.371 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1978, allocations: 0 / 250.2 MB, free: 9.371 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.1982, allocations: 241.5 kB / 250.4 MB, free: 9.086 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1982, allocations: 0 / 250.4 MB, free: 9.086 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1984, allocations: 35.98 kB / 250.4 MB, free: 9.051 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1984, allocations: 0 / 250.4 MB, free: 9.051 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1984, allocations: 4.547 kB / 250.5 MB, free: 9.047 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1984, allocations: 7.953 kB / 250.5 MB, free: 9.039 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1984, allocations: 0 / 250.5 MB, free: 9.039 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.1988, allocations: 424.5 kB / 250.9 MB, free: 8.598 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.1989, allocations: 92.91 kB / 251 MB, free: 8.488 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1989, allocations: 0 / 251 MB, free: 8.488 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.199, allocations: 8.062 kB / 251 MB, free: 8.48 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.1991, allocations: 7.984 kB / 251 MB, free: 8.473 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1991, allocations: 14.33 kB / 251 MB, free: 8.461 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1992, allocations: 152.4 kB / 251.1 MB, free: 8.312 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1992, allocations: 0 / 251.1 MB, free: 8.312 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.1996, allocations: 43.94 kB / 251.2 MB, free: 8.27 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.1997, allocations: 107.2 kB / 251.3 MB, free: 8.156 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1999, allocations: 113.5 kB / 251.4 MB, free: 8.047 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1999, allocations: 0 / 251.4 MB, free: 8.047 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.2, allocations: 39.92 kB / 251.4 MB, free: 8.008 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.2004, allocations: 34.75 kB / 251.5 MB, free: 7.977 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2014, allocations: 0.7595 MB / 252.2 MB, free: 7.199 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.2017, allocations: 0.7284 MB / 253 MB, free: 6.445 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.2018, allocations: 29.52 kB / 253 MB, free: 6.418 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.2019, allocations: 15.44 kB / 253 MB, free: 6.402 MB / 186.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2019, allocations: 0 / 253 MB, free: 6.402 MB / 186.7 MB Notification: Performance of Templates: time 0.003395/0.2053, allocations: 1.258 MB / 254.3 MB, free: 5.16 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)