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.0009697/0.0009697, allocations: 91.84 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.008917/0.008917, allocations: 169.9 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.648/1.648, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.0006111/0.000611, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3031, allocations: 47.58 MB / 327 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002356/0.3055, allocations: 1.944 MB / 329 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004556/0.306, allocations: 192.1 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.3061, allocations: 5.156 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.3062, allocations: 23.95 kB / 329.2 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.3064, allocations: 54.11 kB / 329.2 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.3065, allocations: 47.64 kB / 329.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.3068, allocations: 219 kB / 329.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.3071, allocations: 87.31 kB / 329.6 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3072, allocations: 79.78 kB / 329.7 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.3073, allocations: 93.14 kB / 329.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.3074, allocations: 11.16 kB / 329.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.3074, allocations: 12.31 kB / 329.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.3075, allocations: 34.44 kB / 329.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3076, allocations: 132.3 kB / 329.9 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.3079, allocations: 248.1 kB / 330.2 MB, free: 15.03 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3079, allocations: 7.875 kB / 330.2 MB, free: 15.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3079, allocations: 0 / 330.2 MB, free: 15.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3079, allocations: 1.375 kB / 330.2 MB, free: 15.02 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.0006708/0.3086, allocations: 473.7 kB / 330.7 MB, free: 14.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3087, allocations: 9.281 kB / 330.7 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.3087, allocations: 24.94 kB / 330.7 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.309, allocations: 218.6 kB / 330.9 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.309, allocations: 18.41 kB / 330.9 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.3091, allocations: 22.69 kB / 330.9 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.3095, allocations: 230.8 kB / 331.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3095, allocations: 9.125 kB / 331.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.3095, allocations: 13.94 kB / 331.2 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3095, allocations: 5.406 kB / 331.2 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.3098, allocations: 133.6 kB / 331.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.311, allocations: 0.8595 MB / 332.2 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.3113, allocations: 158 kB / 332.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3114, allocations: 60.91 kB / 332.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3115, allocations: 6.453 kB / 332.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3115, allocations: 43.91 kB / 332.4 MB, free: 13.06 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.3115, allocations: 0 / 332.4 MB, free: 13.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003928/0.3119, allocations: 171 kB / 332.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.312, allocations: 105.1 kB / 332.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.3122, allocations: 189 kB / 332.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3122, allocations: 30.83 kB / 332.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3123, allocations: 167.2 kB / 333.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.3124, allocations: 62.45 kB / 333.2 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.3125, allocations: 33.11 kB / 333.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3126, allocations: 331 kB / 333.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.3127, allocations: 46.28 kB / 333.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.3129, allocations: 152.2 kB / 333.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.3131, allocations: 220.5 kB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3132, allocations: 1.125 kB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003711/0.3135, allocations: 239.9 kB / 334.2 MB, free: 11.58 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3136, allocations: 11.28 kB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3136, allocations: 7.312 kB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3136, allocations: 5.375 kB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.3139, allocations: 67.22 kB / 334.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.3139, allocations: 9.688 kB / 334.3 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.314, allocations: 28.69 kB / 334.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.314, allocations: 10.03 kB / 334.3 MB, free: 11.53 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.0001293/0.3142, allocations: 140.7 kB / 334.4 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.3143, allocations: 28.72 kB / 334.5 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.3143, allocations: 29.95 kB / 334.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3143, allocations: 2.188 kB / 334.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3143, allocations: 1.094 kB / 334.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3144, allocations: 1.25 kB / 334.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.3149, allocations: 422 kB / 334.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3149, allocations: 1.062 kB / 334.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.3151, allocations: 37.8 kB / 334.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3151, allocations: 6.156 kB / 334.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3151, allocations: 7.156 kB / 335 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3151, allocations: 2.125 kB / 335 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3151, allocations: 5.062 kB / 335 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.3156, allocations: 377.5 kB / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.3156, allocations: 96.89 kB / 335.4 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3157, allocations: 8 kB / 335.4 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3158, allocations: 4 kB / 335.4 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.3158, allocations: 15.92 kB / 335.4 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3158, allocations: 4 kB / 335.5 MB, free: 10.44 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.316, allocations: 145.5 kB / 335.6 MB, free: 10.3 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.316, allocations: 0 / 335.6 MB, free: 10.3 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.3163, allocations: 59.84 kB / 335.7 MB, free: 10.24 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.0001126/0.3164, allocations: 99.19 kB / 335.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.3167, allocations: 146.7 kB / 335.9 MB, free: 9.996 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3167, allocations: 0 / 335.9 MB, free: 9.996 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.3168, allocations: 57.09 kB / 335.9 MB, free: 9.941 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.3173, allocations: 28.17 kB / 336 MB, free: 9.914 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.3183, allocations: 0.746 MB / 336.7 MB, free: 9.125 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3186, allocations: 0.7401 MB / 337.5 MB, free: 8.359 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.5e-05/0.3187, allocations: 17.94 kB / 337.5 MB, free: 8.344 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.3188, allocations: 23.44 kB / 337.5 MB, free: 8.324 MB / 270.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3188, allocations: 0 / 337.5 MB, free: 8.324 MB / 270.1 MB Notification: Performance of Templates: time 0.004206/0.323, allocations: 1.439 MB / 338.9 MB, free: 6.887 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)