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.8139/0.8139, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001702/0.001702, allocations: 143.4 kB / 144 MB, free: 9.82 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.412e-05, allocations: 4 kB / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04929/0.04932, allocations: 25.17 MB / 199 MB, free: 2.672 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.1924, allocations: 32.86 MB / 231.9 MB, free: 7.133 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.1927, allocations: 59.97 kB / 231.9 MB, free: 7.074 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006454/0.1991, allocations: 2.788 MB / 234.7 MB, free: 4.324 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1991, allocations: 0 / 234.7 MB, free: 4.324 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.1992, allocations: 7.984 kB / 234.7 MB, free: 4.316 MB / 170.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.0004804/0.1997, allocations: 421.9 kB / 235.1 MB, free: 3.863 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1997, allocations: 12.03 kB / 235.2 MB, free: 3.852 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.448e-05/0.1998, allocations: 19.78 kB / 235.2 MB, free: 3.836 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.2, allocations: 214.7 kB / 235.4 MB, free: 3.586 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2001, allocations: 4 kB / 235.4 MB, free: 3.582 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.2001, allocations: 15.98 kB / 235.4 MB, free: 3.566 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001947/0.2003, allocations: 84.62 kB / 235.5 MB, free: 3.484 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.2006, allocations: 148.1 kB / 235.6 MB, free: 3.324 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2006, allocations: 10.31 kB / 235.6 MB, free: 3.316 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2006, allocations: 0 / 235.6 MB, free: 3.316 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2006, allocations: 7.953 kB / 235.6 MB, free: 3.309 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.2016, allocations: 0.7194 MB / 236.4 MB, free: 2.531 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2018, allocations: 103.8 kB / 236.5 MB, free: 2.402 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.2018, allocations: 51.55 kB / 236.5 MB, free: 2.344 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2019, allocations: 5.078 kB / 236.5 MB, free: 2.34 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.2019, allocations: 38.5 kB / 236.6 MB, free: 2.293 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.2019, allocations: 0 / 236.6 MB, free: 2.293 MB / 170.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002532/0.2021, allocations: 94.61 kB / 236.7 MB, free: 2.195 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.2022, allocations: 110.8 kB / 236.8 MB, free: 2.062 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2023, allocations: 138.8 kB / 236.9 MB, free: 1.922 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2023, allocations: 25.7 kB / 236.9 MB, free: 1.891 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.2024, allocations: 147.9 kB / 237.1 MB, free: 1.742 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.2024, allocations: 51.27 kB / 237.1 MB, free: 1.691 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.2024, allocations: 2.297 kB / 237.1 MB, free: 1.691 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.2025, allocations: 322.8 kB / 237.4 MB, free: 1.367 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.2026, allocations: 28.47 kB / 237.5 MB, free: 1.336 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.2027, allocations: 125.5 kB / 237.6 MB, free: 1.172 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/0.2027, allocations: 55.91 kB / 237.6 MB, free: 1.117 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2027, allocations: 0 / 237.6 MB, free: 1.117 MB / 170.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002613/0.203, allocations: 170.8 kB / 237.8 MB, free: 0.9453 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.203, allocations: 8 kB / 237.8 MB, free: 0.9375 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.203, allocations: 7.953 kB / 237.8 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2031, allocations: 4.562 kB / 237.8 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2032, allocations: 51.91 kB / 237.9 MB, free: 0.875 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.2032, allocations: 5.812 kB / 237.9 MB, free: 0.8711 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.52e-05/0.2033, allocations: 19.75 kB / 237.9 MB, free: 0.8516 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2034, allocations: 8.938 kB / 237.9 MB, free: 0.8438 MB / 170.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 () * 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 5.595e-05/0.2034, allocations: 113 kB / 238 MB, free: 0.7266 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.2035, allocations: 15.91 kB / 238 MB, free: 0.7109 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.2035, allocations: 17.47 kB / 238.1 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2035, allocations: 7.953 kB / 238.1 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2036, allocations: 0 / 238.1 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2036, allocations: 0 / 238.1 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.2039, allocations: 206.1 kB / 238.3 MB, free: 460 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2039, allocations: 4.547 kB / 238.3 MB, free: 456 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.2041, allocations: 38.39 kB / 238.3 MB, free: 420 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2041, allocations: 0 / 238.3 MB, free: 420 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2041, allocations: 4 kB / 238.3 MB, free: 416 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2041, allocations: 4 kB / 238.3 MB, free: 412 kB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2041, allocations: 3.938 kB / 238.3 MB, free: 408 kB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.2044, allocations: 399.5 kB / 238.7 MB, free: 15.98 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.2044, allocations: 93.84 kB / 238.8 MB, free: 15.87 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.2045, allocations: 11.98 kB / 238.8 MB, free: 15.86 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2046, allocations: 0 / 238.8 MB, free: 15.86 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.2046, allocations: 14.72 kB / 238.8 MB, free: 15.84 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2046, allocations: 6.938 kB / 238.8 MB, free: 15.84 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.336e-05/0.2047, allocations: 115.9 kB / 238.9 MB, free: 15.73 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2047, allocations: 0 / 238.9 MB, free: 15.73 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000362/0.2051, allocations: 39.84 kB / 239 MB, free: 15.69 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 () * 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.0001288/0.2052, allocations: 103.2 kB / 239.1 MB, free: 15.58 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.2054, allocations: 83.88 kB / 239.2 MB, free: 15.5 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2054, allocations: 0 / 239.2 MB, free: 15.5 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.2055, allocations: 43.86 kB / 239.2 MB, free: 15.46 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.2059, allocations: 21.3 kB / 239.2 MB, free: 15.44 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/0.2067, allocations: 0.5586 MB / 239.8 MB, free: 14.88 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.207, allocations: 0.7358 MB / 240.5 MB, free: 14.11 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 6.217e-05/0.2071, allocations: 9.203 kB / 240.5 MB, free: 14.11 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.2071, allocations: 15.44 kB / 240.5 MB, free: 14.09 MB / 186.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2071, allocations: 4 kB / 240.6 MB, free: 14.09 MB / 186.7 MB Notification: Performance of Templates: time 0.003041/0.2102, allocations: 1.026 MB / 241.6 MB, free: 13.09 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)