Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.0017, allocations: 195.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 43.88 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2761, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003405/0.2796, allocations: 2.305 MB / 327 MB, free: 128 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.28, allocations: 192.9 kB / 327.2 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.2802, allocations: 5 kB / 327.2 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.2803, allocations: 30.86 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.2805, allocations: 47.14 kB / 327.2 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.2807, allocations: 46.59 kB / 327.3 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.2809, allocations: 231.8 kB / 327.5 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.2812, allocations: 91.09 kB / 327.6 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2813, allocations: 82.03 kB / 327.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2815, allocations: 97.17 kB / 327.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.2815, allocations: 15.19 kB / 327.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.2816, allocations: 16.19 kB / 327.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.2816, allocations: 41.59 kB / 327.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.2818, allocations: 109.8 kB / 328 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.2821, allocations: 250.1 kB / 328.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2821, allocations: 1.094 kB / 328.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2821, allocations: 4 kB / 328.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.2821, allocations: 0 / 328.2 MB, free: 15.26 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008582/0.283, allocations: 0.4985 MB / 328.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.283, allocations: 10.5 kB / 328.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.2831, allocations: 27.78 kB / 328.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.2834, allocations: 218.1 kB / 329 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.2834, allocations: 18.66 kB / 329 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.2835, allocations: 26.45 kB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.2839, allocations: 231.5 kB / 329.2 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.2839, allocations: 192 / 329.2 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.284, allocations: 18.41 kB / 329.2 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.284, allocations: 9.562 kB / 329.3 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.2843, allocations: 130 kB / 329.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.2859, allocations: 0.8535 MB / 330.2 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.2863, allocations: 158.5 kB / 330.4 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2865, allocations: 67.92 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.2865, allocations: 6.344 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.2866, allocations: 40.72 kB / 330.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 4.078e-06/0.2866, allocations: 3.984 kB / 330.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005443/0.2871, allocations: 169.1 kB / 330.7 MB, free: 13.17 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.2872, allocations: 109.2 kB / 330.8 MB, free: 13.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.2875, allocations: 197.7 kB / 331 MB, free: 12.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2875, allocations: 30.92 kB / 331 MB, free: 12.85 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2877, allocations: 159.1 kB / 331.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.2878, allocations: 63 kB / 331.2 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.875e-05/0.2879, allocations: 48.06 kB / 331.3 MB, free: 12.61 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2881, allocations: 335.6 kB / 331.6 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2882, allocations: 45.95 kB / 331.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.2884, allocations: 152.2 kB / 331.8 MB, free: 12.1 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.2888, allocations: 228.6 kB / 332 MB, free: 11.89 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2888, allocations: 1.031 kB / 332 MB, free: 11.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004158/0.2892, allocations: 232.1 kB / 332.2 MB, free: 11.77 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2892, allocations: 11 kB / 332.2 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.2893, allocations: 7.484 kB / 332.3 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.2893, allocations: 4.688 kB / 332.3 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2895, allocations: 60.61 kB / 332.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.2896, allocations: 8.844 kB / 332.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.2897, allocations: 40.53 kB / 332.4 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.2897, allocations: 10.03 kB / 332.4 MB, free: 11.71 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.2899, allocations: 145.5 kB / 332.5 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.29, allocations: 20.25 kB / 332.5 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.29, allocations: 21.94 kB / 332.6 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.29, allocations: 2.344 kB / 332.6 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.29, allocations: 1.031 kB / 332.6 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2901, allocations: 5.109 kB / 332.6 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.2906, allocations: 422.5 kB / 333 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2906, allocations: 0 / 333 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.2908, allocations: 39.02 kB / 333 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.2908, allocations: 2.219 kB / 333 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.2909, allocations: 10.3 kB / 333 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2909, allocations: 2.375 kB / 333 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2909, allocations: 9.25 kB / 333 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.2913, allocations: 380.9 kB / 333.4 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.2914, allocations: 97.55 kB / 333.5 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.2914, allocations: 3.594 kB / 333.5 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2916, allocations: 9.844 kB / 333.5 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.2916, allocations: 13.47 kB / 333.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2916, allocations: 8.359 kB / 333.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.2918, allocations: 142.9 kB / 333.7 MB, free: 10.55 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2918, allocations: 0 / 333.7 MB, free: 10.55 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.2922, allocations: 56.91 kB / 333.7 MB, free: 10.54 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00013/0.2923, allocations: 102.3 kB / 333.8 MB, free: 10.44 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.2926, allocations: 145.4 kB / 334 MB, free: 10.35 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2926, allocations: 0 / 334 MB, free: 10.35 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.086e-05/0.2927, allocations: 51.92 kB / 334 MB, free: 10.3 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.2932, allocations: 25.05 kB / 334.1 MB, free: 10.27 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2943, allocations: 0.6868 MB / 334.7 MB, free: 9.547 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.2947, allocations: 0.7362 MB / 335.5 MB, free: 8.785 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.475e-05/0.2948, allocations: 17.95 kB / 335.5 MB, free: 8.766 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.2948, allocations: 19.44 kB / 335.5 MB, free: 8.75 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2948, allocations: 0 / 335.5 MB, free: 8.75 MB / 270.1 MB Notification: Performance of Templates: time 0.004269/0.2991, allocations: 1.456 MB / 337 MB, free: 7.293 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)