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.001369/0.001369, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.579/1.579, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001259/0.001259, allocations: 59.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2558, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003448/0.2593, allocations: 2.242 MB / 327.5 MB, free: 72 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005655/0.2599, allocations: 193.2 kB / 327.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.26, allocations: 4.438 kB / 327.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.98e-05/0.2602, allocations: 35.67 kB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.2604, allocations: 62.7 kB / 327.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2606, allocations: 55.08 kB / 327.9 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.2608, allocations: 230.2 kB / 328.1 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.261, allocations: 111.4 kB / 328.2 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.2612, allocations: 86.09 kB / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.2614, allocations: 96.91 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.2614, allocations: 22.09 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.412e-05/0.2615, allocations: 20.66 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.2615, allocations: 57.59 kB / 328.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2616, allocations: 120.8 kB / 328.6 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.2619, allocations: 252.7 kB / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2619, allocations: 5.281 kB / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2619, allocations: 0 / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.262, allocations: 0 / 328.9 MB, free: 15.14 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.0008901/0.2629, allocations: 0.5024 MB / 329.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2629, allocations: 10.12 kB / 329.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.895e-05/0.263, allocations: 24.56 kB / 329.4 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.2633, allocations: 222.3 kB / 329.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2633, allocations: 17.84 kB / 329.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.2634, allocations: 23.22 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.2638, allocations: 238.2 kB / 329.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2639, allocations: 1.281 kB / 329.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2639, allocations: 10.09 kB / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.2639, allocations: 6.5 kB / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.2642, allocations: 137.5 kB / 330 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2653, allocations: 0.8527 MB / 330.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.2656, allocations: 167 kB / 331.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.2657, allocations: 71.59 kB / 331.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.2657, allocations: 3.219 kB / 331.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.2658, allocations: 43.66 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.2658, allocations: 0 / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.000366/0.2661, allocations: 170 kB / 331.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.2662, allocations: 108.9 kB / 331.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.2664, allocations: 190 kB / 331.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2664, allocations: 26.55 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.2665, allocations: 166.9 kB / 331.8 MB, free: 12.58 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.2666, allocations: 62.91 kB / 331.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.2667, allocations: 51.98 kB / 331.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.2668, allocations: 331.5 kB / 332.3 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/0.2669, allocations: 46.95 kB / 332.3 MB, free: 12.13 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.267, allocations: 155 kB / 332.5 MB, free: 11.97 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2673, allocations: 216.7 kB / 332.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2673, allocations: 1.156 kB / 332.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003649/0.2676, allocations: 244.8 kB / 332.9 MB, free: 11.64 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2677, allocations: 13.56 kB / 332.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2677, allocations: 4.781 kB / 332.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2677, allocations: 5.625 kB / 332.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.2679, allocations: 63.03 kB / 333 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.268, allocations: 5.469 kB / 333 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2681, allocations: 36.75 kB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.2682, allocations: 9.656 kB / 333 MB, free: 11.59 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.0001188/0.2683, allocations: 141.1 kB / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.2684, allocations: 25.25 kB / 333.2 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.2684, allocations: 25.8 kB / 333.2 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2684, allocations: 6.094 kB / 333.2 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2684, allocations: 1.062 kB / 333.2 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2685, allocations: 1.156 kB / 333.2 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.269, allocations: 416.9 kB / 333.7 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.269, allocations: 1.438 kB / 333.7 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.2692, allocations: 43.23 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2692, allocations: 2.25 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2692, allocations: 2.031 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2693, allocations: 6.188 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2693, allocations: 1.344 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.2696, allocations: 391.1 kB / 334.1 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.2697, allocations: 96.86 kB / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.2698, allocations: 8 kB / 334.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2699, allocations: 0 / 334.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.2699, allocations: 27.84 kB / 334.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.2699, allocations: 4 kB / 334.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2701, allocations: 145.5 kB / 334.4 MB, free: 10.36 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2701, allocations: 4 kB / 334.4 MB, free: 10.35 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003687/0.2704, allocations: 51.84 kB / 334.4 MB, free: 10.3 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.0001128/0.2706, allocations: 99.25 kB / 334.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.2708, allocations: 146.7 kB / 334.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2708, allocations: 0.875 kB / 334.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.2709, allocations: 56.05 kB / 334.7 MB, free: 10 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.2715, allocations: 23.98 kB / 334.7 MB, free: 9.977 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2726, allocations: 0.6105 MB / 335.3 MB, free: 9.324 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.273, allocations: 0.7359 MB / 336.1 MB, free: 8.559 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.644e-05/0.2731, allocations: 17.95 kB / 336.1 MB, free: 8.539 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.2732, allocations: 19.44 kB / 336.1 MB, free: 8.523 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2732, allocations: 3.938 kB / 336.1 MB, free: 8.52 MB / 270.1 MB Notification: Performance of Templates: time 0.004686/0.2779, allocations: 1.525 MB / 337.6 MB, free: 6.996 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)