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.001819/0.001819, 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.003154/0.003154, allocations: 193.1 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.52/1.52, allocations: 205.1 MB / 222 MB, free: 4.746 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.001134/0.001134, allocations: 47.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2607, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004327/0.2651, allocations: 2.301 MB / 327 MB, free: 104 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.2656, allocations: 193.7 kB / 327.2 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.2657, allocations: 7.531 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.2658, allocations: 23.7 kB / 327.2 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.266, allocations: 51.48 kB / 327.2 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.2663, allocations: 50.45 kB / 327.3 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.2666, allocations: 227.1 kB / 327.5 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.2669, allocations: 87.91 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.267, allocations: 81.84 kB / 327.7 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2672, allocations: 101.3 kB / 327.8 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.2673, allocations: 15.06 kB / 327.8 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.2673, allocations: 16.31 kB / 327.8 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.2674, allocations: 41.59 kB / 327.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2675, allocations: 112.1 kB / 328 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.2679, allocations: 247.5 kB / 328.2 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.2679, allocations: 1.312 kB / 328.2 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2679, allocations: 4 kB / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2679, allocations: 0 / 328.2 MB, free: 15.23 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.0008934/0.2688, allocations: 0.4984 MB / 328.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2689, allocations: 9.281 kB / 328.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.269, allocations: 29.09 kB / 328.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.2692, allocations: 222 kB / 329 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.2693, allocations: 18.69 kB / 329 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.2693, allocations: 22.44 kB / 329 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.2697, allocations: 231 kB / 329.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2698, allocations: 5.375 kB / 329.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.2698, allocations: 13.16 kB / 329.2 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2698, allocations: 9.844 kB / 329.3 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.2701, allocations: 129.7 kB / 329.4 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2713, allocations: 0.8618 MB / 330.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.2715, allocations: 161.7 kB / 330.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.2717, allocations: 60.66 kB / 330.5 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.2717, allocations: 2.219 kB / 330.5 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.2717, allocations: 36.28 kB / 330.5 MB, free: 13.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.2717, allocations: 1.719 kB / 330.5 MB, free: 13.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004302/0.2722, allocations: 171.8 kB / 330.7 MB, free: 13.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.2722, allocations: 109.9 kB / 330.8 MB, free: 13.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2724, allocations: 197.4 kB / 331 MB, free: 12.87 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2725, allocations: 26.86 kB / 331 MB, free: 12.84 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.2726, allocations: 159 kB / 331.1 MB, free: 12.69 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.2726, allocations: 67.47 kB / 331.2 MB, free: 12.63 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.2727, allocations: 47.64 kB / 331.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2729, allocations: 330.6 kB / 331.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.273, allocations: 51.61 kB / 331.6 MB, free: 12.24 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.2731, allocations: 154.5 kB / 331.8 MB, free: 12.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.2734, allocations: 226.1 kB / 332 MB, free: 11.87 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2734, allocations: 0.9375 kB / 332 MB, free: 11.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003773/0.2738, allocations: 244 kB / 332.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2738, allocations: 9.594 kB / 332.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2738, allocations: 4.469 kB / 332.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2739, allocations: 4.562 kB / 332.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2741, allocations: 56.64 kB / 332.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.2741, allocations: 13.48 kB / 332.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.2743, allocations: 32.5 kB / 332.4 MB, free: 11.7 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.2743, allocations: 13.91 kB / 332.4 MB, free: 11.69 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.0001093/0.2744, allocations: 140.4 kB / 332.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.2745, allocations: 20.75 kB / 332.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.2746, allocations: 29.77 kB / 332.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.2746, allocations: 3.281 kB / 332.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2746, allocations: 1.062 kB / 332.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2746, allocations: 4 kB / 332.6 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.2751, allocations: 418.4 kB / 333 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2751, allocations: 0.75 kB / 333 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.2753, allocations: 43.38 kB / 333 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2754, allocations: 1.188 kB / 333 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2754, allocations: 3.438 kB / 333 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.2754, allocations: 9.125 kB / 333 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2754, allocations: 5.594 kB / 333 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.2758, allocations: 376.9 kB / 333.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.2759, allocations: 94.67 kB / 333.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.2759, allocations: 7.031 kB / 333.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2761, allocations: 9.406 kB / 333.5 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.2761, allocations: 17.7 kB / 333.5 MB, free: 10.64 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2761, allocations: 8.594 kB / 333.5 MB, free: 10.63 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2762, allocations: 138.3 kB / 333.7 MB, free: 10.53 MB / 270.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2763, allocations: 0 / 333.7 MB, free: 10.53 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003866/0.2766, allocations: 57.91 kB / 333.7 MB, free: 10.52 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.0001739/0.2768, allocations: 101 kB / 333.8 MB, free: 10.42 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.2772, allocations: 147.6 kB / 334 MB, free: 10.34 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2772, allocations: 0 / 334 MB, free: 10.34 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.2773, allocations: 55.91 kB / 334 MB, free: 10.29 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.2779, allocations: 29.03 kB / 334.1 MB, free: 10.26 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.279, allocations: 0.6787 MB / 334.7 MB, free: 9.539 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.2794, allocations: 0.7362 MB / 335.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.108e-05/0.2795, allocations: 21.89 kB / 335.5 MB, free: 8.754 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.2795, allocations: 19.44 kB / 335.5 MB, free: 8.738 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2795, allocations: 0 / 335.5 MB, free: 8.738 MB / 270.1 MB Notification: Performance of Templates: time 0.004141/0.2837, allocations: 1.456 MB / 337 MB, free: 7.281 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)