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.00151/0.00151, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.427/1.427, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001744/0.001744, allocations: 107.5 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.627e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.07952, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.287/0.3666, allocations: 65.21 MB / 366.2 MB, free: 3.121 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.3669, allocations: 68.47 kB / 366.3 MB, free: 3.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006379/0.3733, allocations: 2.829 MB / 369.1 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3733, allocations: 0 / 369.1 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.3733, allocations: 4 kB / 369.1 MB, free: 0.7383 MB / 250.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.0003872/0.3737, allocations: 422.8 kB / 369.5 MB, free: 300 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.3738, allocations: 8.031 kB / 369.5 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3738, allocations: 19.81 kB / 369.5 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.374, allocations: 209.8 kB / 369.7 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.374, allocations: 8 kB / 369.8 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.3741, allocations: 8.75 kB / 369.8 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002003/0.3743, allocations: 86.61 kB / 369.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.3745, allocations: 158.3 kB / 370 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3746, allocations: 7.891 kB / 370 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3746, allocations: 0 / 370 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3746, allocations: 8 kB / 370 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.3757, allocations: 0.7221 MB / 370.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3758, allocations: 104.5 kB / 370.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.3759, allocations: 48.61 kB / 370.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.3759, allocations: 4 kB / 370.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.376, allocations: 34.55 kB / 370.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.376, allocations: 0 / 370.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002342/0.3762, allocations: 95.81 kB / 371 MB, free: 14.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3763, allocations: 110.8 kB / 371.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3764, allocations: 144.9 kB / 371.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3764, allocations: 25.7 kB / 371.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.3765, allocations: 149.1 kB / 371.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.3766, allocations: 45.89 kB / 371.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.3766, allocations: 0 / 371.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3767, allocations: 325.4 kB / 371.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.3768, allocations: 32.66 kB / 371.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3769, allocations: 122.5 kB / 372 MB, free: 13.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.377, allocations: 58.09 kB / 372 MB, free: 13.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.377, allocations: 0 / 372 MB, free: 13.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002537/0.3772, allocations: 173.8 kB / 372.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3773, allocations: 4 kB / 372.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3773, allocations: 4 kB / 372.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3773, allocations: 7.984 kB / 372.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3775, allocations: 51.17 kB / 372.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3775, allocations: 7.938 kB / 372.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.3776, allocations: 15.75 kB / 372.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3776, allocations: 8.344 kB / 372.3 MB, free: 13.56 MB / 266.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 0.0001004/0.3777, allocations: 120.5 kB / 372.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.3778, allocations: 15.86 kB / 372.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.3778, allocations: 19.08 kB / 372.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3778, allocations: 0 / 372.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.3779, allocations: 4 kB / 372.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3779, allocations: 2.516 kB / 372.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.3783, allocations: 210.9 kB / 372.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3783, allocations: 0 / 372.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.3784, allocations: 27.98 kB / 372.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3785, allocations: 8 kB / 372.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3785, allocations: 3.953 kB / 372.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3785, allocations: 4 kB / 372.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3785, allocations: 0 / 372.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.3789, allocations: 406.2 kB / 373.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.3789, allocations: 93.12 kB / 373.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.379, allocations: 11.05 kB / 373.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3791, allocations: 4 kB / 373.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.3791, allocations: 4 kB / 373.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3791, allocations: 11.92 kB / 373.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.112e-05/0.3792, allocations: 107.8 kB / 373.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3792, allocations: 0 / 373.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.3796, allocations: 43.83 kB / 373.3 MB, free: 12.47 MB / 266.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.0001299/0.3798, allocations: 103.2 kB / 373.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.38, allocations: 95.73 kB / 373.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.38, allocations: 0 / 373.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.38, allocations: 35.12 kB / 373.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3804, allocations: 20 kB / 373.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.3813, allocations: 0.5525 MB / 374.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.3817, allocations: 0.7358 MB / 374.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.3818, allocations: 13.2 kB / 374.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.3818, allocations: 15.44 kB / 374.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3818, allocations: 0 / 374.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Templates: time 0.003345/0.3852, allocations: 1.023 MB / 375.9 MB, free: 9.879 MB / 266.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)