Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009736/0.0009737, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.112/1.112, allocations: 194.5 MB / 211.6 MB, free: 3.031 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00153/0.00153, allocations: 119.3 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002862, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.08908, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/0.3337, allocations: 71.28 MB / 426.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.3339, allocations: 68.92 kB / 426.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006269/0.3402, allocations: 2.833 MB / 429.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3403, allocations: 0 / 429.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3403, allocations: 5.219 kB / 429.2 MB, free: 15.87 MB / 314.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.0004355/0.3407, allocations: 440.7 kB / 429.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3408, allocations: 12.02 kB / 429.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.3408, allocations: 24.75 kB / 429.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.341, allocations: 209.7 kB / 429.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.341, allocations: 15.19 kB / 429.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.3411, allocations: 15.44 kB / 429.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.3413, allocations: 176.6 kB / 430.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3414, allocations: 4 kB / 430.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3414, allocations: 6.062 kB / 430.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3414, allocations: 8 kB / 430.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3416, allocations: 99.25 kB / 430.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.3425, allocations: 0.7805 MB / 431 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3426, allocations: 119.9 kB / 431.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.3426, allocations: 0 / 431.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.3426, allocations: 42.38 kB / 431.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.3427, allocations: 0 / 431.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002558/0.3429, allocations: 129.3 kB / 431.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.343, allocations: 114.8 kB / 431.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3431, allocations: 186.2 kB / 431.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.3431, allocations: 31.05 kB / 431.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.3432, allocations: 140.4 kB / 431.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.3432, allocations: 50.73 kB / 431.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.3432, allocations: 3.75 kB / 431.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.3433, allocations: 333.3 kB / 432.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.388e-05/0.3433, allocations: 39.08 kB / 432.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.3434, allocations: 129.8 kB / 432.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.3435, allocations: 64.72 kB / 432.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3435, allocations: 0 / 432.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002261/0.3437, allocations: 206.3 kB / 432.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3438, allocations: 9.25 kB / 432.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3438, allocations: 4 kB / 432.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3438, allocations: 4 kB / 432.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3439, allocations: 51.28 kB / 432.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3439, allocations: 7.938 kB / 432.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-05/0.344, allocations: 33.14 kB / 432.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3441, allocations: 14.88 kB / 432.7 MB, free: 12.54 MB / 314.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 7.179e-05/0.3441, allocations: 127.7 kB / 432.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.3442, allocations: 19.88 kB / 432.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.3443, allocations: 22.61 kB / 432.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3443, allocations: 4 kB / 432.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3443, allocations: 2.078 kB / 432.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3443, allocations: 0 / 432.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.3446, allocations: 253.8 kB / 433.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3446, allocations: 3.984 kB / 433.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3448, allocations: 30.92 kB / 433.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3448, allocations: 0 / 433.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3448, allocations: 7.938 kB / 433.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3448, allocations: 4 kB / 433.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3448, allocations: 4 kB / 433.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.345, allocations: 410.6 kB / 433.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.3451, allocations: 92.05 kB / 433.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3451, allocations: 8.125 kB / 433.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3453, allocations: 7.953 kB / 433.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.3453, allocations: 14.86 kB / 433.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3453, allocations: 4 kB / 433.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.3454, allocations: 154.2 kB / 433.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3454, allocations: 0 / 433.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.3457, allocations: 41.81 kB / 433.9 MB, free: 11.38 MB / 314.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.0001215/0.3459, allocations: 104.9 kB / 434 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3461, allocations: 112.8 kB / 434.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3461, allocations: 0 / 434.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.3461, allocations: 36.39 kB / 434.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.3465, allocations: 29.7 kB / 434.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/0.3473, allocations: 0.7615 MB / 434.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.3475, allocations: 0.74 MB / 435.7 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.772e-05/0.3476, allocations: 13.55 kB / 435.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.3476, allocations: 19.44 kB / 435.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3476, allocations: 0 / 435.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of Templates: time 0.003238/0.3509, allocations: 1.267 MB / 437 MB, free: 8.379 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)