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.00129/0.00129, allocations: 108 kB / 15.6 MB, free: 128 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.00178/0.00178, allocations: 198.3 kB / 16.53 MB, free: 6.672 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.498/1.498, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001408/0.001408, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2274, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003202/0.2307, allocations: 2.243 MB / 327.5 MB, free: 68 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003828/0.2311, allocations: 193.9 kB / 327.7 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.2312, allocations: 7.594 kB / 327.7 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.426e-05/0.2313, allocations: 35.42 kB / 327.8 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.2315, allocations: 67.5 kB / 327.8 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.2316, allocations: 49.69 kB / 327.9 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.2319, allocations: 234.8 kB / 328.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.2321, allocations: 107.2 kB / 328.2 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.884e-05/0.2322, allocations: 85.75 kB / 328.3 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2324, allocations: 105 kB / 328.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.2324, allocations: 21.09 kB / 328.4 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.2324, allocations: 21.34 kB / 328.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.2325, allocations: 50.58 kB / 328.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2326, allocations: 116.1 kB / 328.6 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.2329, allocations: 249.1 kB / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2329, allocations: 1.062 kB / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2329, allocations: 0 / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2329, allocations: 3.938 kB / 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.000697/0.2336, allocations: 0.5105 MB / 329.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2337, allocations: 9.5 kB / 329.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.2337, allocations: 24.53 kB / 329.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.234, allocations: 226.3 kB / 329.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2341, allocations: 14.09 kB / 329.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.2341, allocations: 31.94 kB / 329.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.2346, allocations: 234.5 kB / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2346, allocations: 192 / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.2346, allocations: 10.94 kB / 329.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2346, allocations: 5.344 kB / 329.9 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.2349, allocations: 129.8 kB / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.236, allocations: 0.8649 MB / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.2362, allocations: 158 kB / 331.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.2363, allocations: 64.78 kB / 331.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2363, allocations: 6.25 kB / 331.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2364, allocations: 36.78 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.2364, allocations: 0 / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003521/0.2367, allocations: 169.1 kB / 331.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.2368, allocations: 109 kB / 331.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.237, allocations: 197.7 kB / 331.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.237, allocations: 30.83 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.2371, allocations: 159.6 kB / 331.8 MB, free: 12.58 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.2372, allocations: 70.36 kB / 331.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.2373, allocations: 48.98 kB / 331.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2374, allocations: 330.5 kB / 332.3 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.2375, allocations: 47.11 kB / 332.3 MB, free: 12.13 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2376, allocations: 154.8 kB / 332.5 MB, free: 11.96 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.2379, allocations: 226.7 kB / 332.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2379, allocations: 0 / 332.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000343/0.2382, allocations: 244.3 kB / 332.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2383, allocations: 10.47 kB / 332.9 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2383, allocations: 3.25 kB / 332.9 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2383, allocations: 5.344 kB / 332.9 MB, free: 11.62 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2385, allocations: 59.48 kB / 333 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.2385, allocations: 9.672 kB / 333 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2387, allocations: 35.84 kB / 333 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2387, allocations: 14.38 kB / 333.1 MB, free: 11.58 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.0001094/0.2388, allocations: 145.5 kB / 333.2 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.2389, allocations: 20.97 kB / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.239, allocations: 25.89 kB / 333.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.239, allocations: 2.594 kB / 333.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.239, allocations: 1.312 kB / 333.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.239, allocations: 0 / 333.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.2395, allocations: 422.2 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2395, allocations: 1.094 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.2397, allocations: 41.91 kB / 333.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2397, allocations: 2.625 kB / 333.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2397, allocations: 2.188 kB / 333.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2398, allocations: 2.156 kB / 333.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2398, allocations: 1.219 kB / 333.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.2401, allocations: 381.7 kB / 334.1 MB, free: 10.64 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.2402, allocations: 92.86 kB / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.2402, allocations: 16.03 kB / 334.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.2404, allocations: 4 kB / 334.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.2404, allocations: 15.92 kB / 334.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2404, allocations: 8.281 kB / 334.2 MB, free: 10.49 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.2405, allocations: 145.4 kB / 334.4 MB, free: 10.35 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2405, allocations: 0 / 334.4 MB, free: 10.35 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.2409, allocations: 55.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 9.825e-05/0.241, allocations: 99.23 kB / 334.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.2413, allocations: 151.6 kB / 334.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2413, allocations: 0 / 334.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.2414, allocations: 51.92 kB / 334.7 MB, free: 9.996 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.2419, allocations: 32.69 kB / 334.7 MB, free: 9.965 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.2428, allocations: 0.6068 MB / 335.3 MB, free: 9.316 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2431, allocations: 0.7359 MB / 336.1 MB, free: 8.551 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.008e-05/0.2432, allocations: 25.94 kB / 336.1 MB, free: 8.523 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.2432, allocations: 15.44 kB / 336.1 MB, free: 8.512 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2433, allocations: 0 / 336.1 MB, free: 8.512 MB / 270.1 MB Notification: Performance of Templates: time 0.004073/0.2473, allocations: 1.526 MB / 337.6 MB, free: 6.984 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)