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.0008553/0.0008551, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008358/0.008359, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.604/1.604, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004592/0.0004593, allocations: 12.52 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 47.58 MB / 327 MB, free: 1.738 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002141/0.2661, allocations: 1.94 MB / 329 MB, free: 200 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003577/0.2665, allocations: 197.8 kB / 329.2 MB, free: 28 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.2666, allocations: 4.812 kB / 329.2 MB, free: 28 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.2667, allocations: 27.36 kB / 329.2 MB, free: 4 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.2669, allocations: 54.47 kB / 329.2 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.267, allocations: 42.91 kB / 329.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.2673, allocations: 215.5 kB / 329.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.2675, allocations: 98.94 kB / 329.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2677, allocations: 73.17 kB / 329.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2678, allocations: 95.56 kB / 329.8 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.2679, allocations: 11.81 kB / 329.8 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.309e-05/0.2679, allocations: 11.81 kB / 329.8 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.268, allocations: 35.08 kB / 329.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2681, allocations: 128.5 kB / 329.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.2684, allocations: 252 kB / 330.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2684, allocations: 0 / 330.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.2684, allocations: 0 / 330.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.2684, allocations: 3.938 kB / 330.2 MB, free: 15.32 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.0007216/0.2691, allocations: 479 kB / 330.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.2692, allocations: 9.75 kB / 330.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.2693, allocations: 24.94 kB / 330.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.2695, allocations: 218 kB / 330.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.2695, allocations: 18.16 kB / 330.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.2696, allocations: 23 kB / 330.9 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.2701, allocations: 226.7 kB / 331.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.2701, allocations: 9.062 kB / 331.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.2702, allocations: 14.22 kB / 331.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.2702, allocations: 9.484 kB / 331.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.2705, allocations: 130.1 kB / 331.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.2718, allocations: 0.8588 MB / 332.2 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.2721, allocations: 158.9 kB / 332.3 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2722, allocations: 59.34 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.2722, allocations: 2.812 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.2723, allocations: 43.88 kB / 332.4 MB, free: 13.36 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.2723, allocations: 4 kB / 332.4 MB, free: 13.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004124/0.2727, allocations: 173.9 kB / 332.6 MB, free: 13.26 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.2728, allocations: 105.1 kB / 332.7 MB, free: 13.13 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.273, allocations: 189.8 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.273, allocations: 30.73 kB / 332.9 MB, free: 12.95 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2731, allocations: 167.8 kB / 333.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.2732, allocations: 58.64 kB / 333.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.2733, allocations: 29.27 kB / 333.2 MB, free: 12.72 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2734, allocations: 335.2 kB / 333.5 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.2735, allocations: 46.36 kB / 333.6 MB, free: 12.36 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.2737, allocations: 151.9 kB / 333.7 MB, free: 12.2 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.274, allocations: 216 kB / 333.9 MB, free: 12.01 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.274, allocations: 5.125 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00038/0.2744, allocations: 243.9 kB / 334.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.2744, allocations: 10.88 kB / 334.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2744, allocations: 3.062 kB / 334.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.2745, allocations: 6.344 kB / 334.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2747, allocations: 63.34 kB / 334.2 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.2747, allocations: 4.938 kB / 334.2 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2749, allocations: 36.12 kB / 334.3 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.2749, allocations: 14.19 kB / 334.3 MB, free: 11.82 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.0001278/0.275, allocations: 145.6 kB / 334.4 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.2751, allocations: 23.94 kB / 334.5 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.2752, allocations: 26.48 kB / 334.5 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.2752, allocations: 2.188 kB / 334.5 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2752, allocations: 5.031 kB / 334.5 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2752, allocations: 1.094 kB / 334.5 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.2758, allocations: 417.7 kB / 334.9 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2758, allocations: 0.9375 kB / 334.9 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.276, allocations: 47.14 kB / 334.9 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.276, allocations: 1.5 kB / 334.9 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.276, allocations: 3.344 kB / 335 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.276, allocations: 5.312 kB / 335 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.276, allocations: 2.125 kB / 335 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.2764, allocations: 382.7 kB / 335.3 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.2765, allocations: 100.9 kB / 335.4 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.2765, allocations: 8 kB / 335.4 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2767, allocations: 0 / 335.4 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.2767, allocations: 15.97 kB / 335.5 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2767, allocations: 8 kB / 335.5 MB, free: 10.68 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.2768, allocations: 145.5 kB / 335.6 MB, free: 10.54 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2768, allocations: 0 / 335.6 MB, free: 10.54 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.2772, allocations: 51.84 kB / 335.7 MB, free: 10.49 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.0001186/0.2773, allocations: 107.2 kB / 335.8 MB, free: 10.38 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.2776, allocations: 135.9 kB / 335.9 MB, free: 10.25 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2776, allocations: 0 / 335.9 MB, free: 10.25 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.2777, allocations: 57.12 kB / 335.9 MB, free: 10.19 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.2782, allocations: 35.98 kB / 336 MB, free: 10.16 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.2794, allocations: 0.746 MB / 336.7 MB, free: 9.367 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2798, allocations: 0.7323 MB / 337.5 MB, free: 8.609 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.081e-05/0.2799, allocations: 17.95 kB / 337.5 MB, free: 8.594 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.28, allocations: 19.44 kB / 337.5 MB, free: 8.578 MB / 270.1 MB Notification: Performance of SimCode: time 3.21e-07/0.28, allocations: 0 / 337.5 MB, free: 8.578 MB / 270.1 MB Notification: Performance of Templates: time 0.00452/0.2845, allocations: 1.44 MB / 338.9 MB, free: 7.137 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)