Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007927/0.007928, allocations: 166.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.319/1.319, allocations: 170.8 MB / 186.6 MB, free: 1.145 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001571/0.001571, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2534, allocations: 38.77 MB / 312.9 MB, free: 38.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09768/0.3511, allocations: 65.97 MB / 378.9 MB, free: 8.547 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.3515, allocations: 67.95 kB / 378.9 MB, free: 8.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009452/0.361, allocations: 2.843 MB / 381.8 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.361, allocations: 0 / 381.8 MB, free: 5.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.3611, allocations: 12 kB / 381.8 MB, free: 5.613 MB / 282.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.0006518/0.3617, allocations: 434.8 kB / 382.2 MB, free: 5.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3618, allocations: 8.219 kB / 382.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.3619, allocations: 23.72 kB / 382.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3622, allocations: 206.8 kB / 382.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.3622, allocations: 16 kB / 382.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.3622, allocations: 23.91 kB / 382.5 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.3626, allocations: 184 kB / 382.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.3626, allocations: 3.984 kB / 382.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3627, allocations: 8 kB / 382.7 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.3627, allocations: 4 kB / 382.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.3629, allocations: 100.9 kB / 382.8 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.3644, allocations: 0.7793 MB / 383.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.3646, allocations: 123.8 kB / 383.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3646, allocations: 0 / 383.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.3647, allocations: 38.59 kB / 383.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3647, allocations: 0 / 383.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003877/0.3651, allocations: 141.5 kB / 383.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.3652, allocations: 106.8 kB / 384 MB, free: 3.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3654, allocations: 186.2 kB / 384.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.3655, allocations: 25.7 kB / 384.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3656, allocations: 136 kB / 384.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.3656, allocations: 63.17 kB / 384.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.3656, allocations: 0 / 384.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3658, allocations: 326.8 kB / 384.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.3659, allocations: 44.45 kB / 384.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.366, allocations: 120.9 kB / 384.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.3661, allocations: 71.88 kB / 384.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3662, allocations: 0 / 384.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003538/0.3665, allocations: 205.1 kB / 385.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3665, allocations: 10.19 kB / 385.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3666, allocations: 7.984 kB / 385.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3666, allocations: 7.938 kB / 385.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.3668, allocations: 43.92 kB / 385.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.3668, allocations: 8 kB / 385.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3669, allocations: 32.45 kB / 385.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.367, allocations: 16 kB / 385.2 MB, free: 1.852 MB / 282.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.0001393/0.3671, allocations: 133.7 kB / 385.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.3672, allocations: 15.81 kB / 385.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.3673, allocations: 20.98 kB / 385.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3673, allocations: 4 kB / 385.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3673, allocations: 3.984 kB / 385.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3673, allocations: 4 kB / 385.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.3677, allocations: 245.5 kB / 385.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3677, allocations: 7.953 kB / 385.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.3679, allocations: 31.92 kB / 385.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3679, allocations: 0 / 385.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3679, allocations: 4 kB / 385.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3679, allocations: 0 / 385.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3679, allocations: 4.25 kB / 385.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.3684, allocations: 428.7 kB / 386.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.3684, allocations: 88.92 kB / 386.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3685, allocations: 8.062 kB / 386.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3686, allocations: 0 / 386.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.3687, allocations: 11.98 kB / 386.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3687, allocations: 4 kB / 386.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3688, allocations: 160.2 kB / 386.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3688, allocations: 0 / 386.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.3692, allocations: 51.89 kB / 386.4 MB, free: 0.5391 MB / 282.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.0001442/0.3693, allocations: 100.4 kB / 386.5 MB, free: 444 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3696, allocations: 110.5 kB / 386.6 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3696, allocations: 0 / 386.6 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.3696, allocations: 40.61 kB / 386.7 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3701, allocations: 27.84 kB / 386.7 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3712, allocations: 0.7661 MB / 387.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3715, allocations: 0.7323 MB / 388.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.257e-05/0.3716, allocations: 17.55 kB / 388.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.3716, allocations: 19.44 kB / 388.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of SimCode: time 2.715e-06/0.3716, allocations: 0 / 388.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of Templates: time 0.004003/0.3757, allocations: 1.268 MB / 389.5 MB, free: 13.41 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)