Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001038/0.001038, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00139/0.00139, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0006352/0.0006354, allocations: 10.66 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2869, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00251/0.2894, allocations: 1.875 MB / 328.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005259/0.29, allocations: 186.6 kB / 328.5 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2901, allocations: 3.312 kB / 328.5 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.553e-05/0.2902, allocations: 32.17 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.2905, allocations: 46.67 kB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.2906, allocations: 38.7 kB / 328.6 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.2909, allocations: 218.6 kB / 328.9 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.2911, allocations: 82.73 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2913, allocations: 79.72 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2914, allocations: 84.28 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.2915, allocations: 12.12 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.498e-05/0.2915, allocations: 12.47 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.2916, allocations: 33.56 kB / 329.2 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.2917, allocations: 70.86 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.2919, allocations: 196.6 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2919, allocations: 0 / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.292, allocations: 1.469 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.292, allocations: 0 / 329.4 MB, free: 15.15 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.000698/0.2927, allocations: 476.6 kB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.2927, allocations: 8.75 kB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.2928, allocations: 23.59 kB / 329.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.293, allocations: 212.9 kB / 330.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.2931, allocations: 29.97 kB / 330.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.2931, allocations: 27.69 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.2935, allocations: 227.4 kB / 330.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2936, allocations: 1.156 kB / 330.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.2936, allocations: 10.03 kB / 330.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2936, allocations: 5.938 kB / 330.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.2939, allocations: 127.3 kB / 330.5 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2951, allocations: 0.8671 MB / 331.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.2954, allocations: 161.9 kB / 331.6 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2955, allocations: 54.97 kB / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.2956, allocations: 3.125 kB / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.2956, allocations: 47.58 kB / 331.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.2956, allocations: 1.312 kB / 331.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004053/0.296, allocations: 163.6 kB / 331.8 MB, free: 13.1 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.2961, allocations: 105.2 kB / 331.9 MB, free: 12.97 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.2963, allocations: 196.3 kB / 332.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.2963, allocations: 31.05 kB / 332.2 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2965, allocations: 158 kB / 332.3 MB, free: 12.63 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.2965, allocations: 64.34 kB / 332.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.2965, allocations: 9.312 kB / 332.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2967, allocations: 326.5 kB / 332.7 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.233e-05/0.2968, allocations: 44.77 kB / 332.7 MB, free: 12.22 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.297, allocations: 163.4 kB / 332.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.2971, allocations: 67.41 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2971, allocations: 1 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003959/0.2975, allocations: 247.1 kB / 333.2 MB, free: 11.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.2975, allocations: 10.8 kB / 333.2 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2976, allocations: 3.406 kB / 333.2 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.2976, allocations: 5.312 kB / 333.2 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.2978, allocations: 63.06 kB / 333.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.2978, allocations: 9.594 kB / 333.3 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.298, allocations: 32.23 kB / 333.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.298, allocations: 11.03 kB / 333.3 MB, free: 11.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.2982, allocations: 144.3 kB / 333.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.2983, allocations: 17.5 kB / 333.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.2983, allocations: 30.12 kB / 333.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2983, allocations: 2.25 kB / 333.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2983, allocations: 1.125 kB / 333.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2984, allocations: 0 / 333.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.2989, allocations: 422.4 kB / 333.9 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2989, allocations: 5.531 kB / 334 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.2991, allocations: 37.86 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.2992, allocations: 2.062 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2992, allocations: 7.375 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2992, allocations: 1.859 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.2992, allocations: 5.078 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.2997, allocations: 370.4 kB / 334.4 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.2997, allocations: 103.8 kB / 334.5 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.2998, allocations: 6.375 kB / 334.5 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.2999, allocations: 8.938 kB / 334.5 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.2999, allocations: 10.33 kB / 334.5 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3, allocations: 8.281 kB / 334.5 MB, free: 10.79 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3001, allocations: 149.5 kB / 334.6 MB, free: 10.67 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3001, allocations: 0 / 334.6 MB, free: 10.67 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.3005, allocations: 53.19 kB / 334.7 MB, free: 10.66 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 (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.0001262/0.3006, allocations: 101.6 kB / 334.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3009, allocations: 140.2 kB / 334.9 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3009, allocations: 1 kB / 334.9 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.324e-05/0.301, allocations: 59.86 kB / 335 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.3015, allocations: 31.16 kB / 335 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3026, allocations: 0.7182 MB / 335.7 MB, free: 9.758 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.303, allocations: 0.7323 MB / 336.5 MB, free: 9 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.642e-05/0.3031, allocations: 29.92 kB / 336.5 MB, free: 8.973 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.3031, allocations: 15.44 kB / 336.5 MB, free: 8.957 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3031, allocations: 0 / 336.5 MB, free: 8.957 MB / 270.1 MB Notification: Performance of Templates: time 0.004274/0.3074, allocations: 1.401 MB / 337.9 MB, free: 7.555 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)