Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001238/0.001238, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.496/1.496, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001186/0.001186, allocations: 52.31 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2885, allocations: 46.63 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003811/0.2924, allocations: 2.518 MB / 327.4 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005986/0.293, allocations: 255 kB / 327.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.2932, allocations: 4.969 kB / 327.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.2934, allocations: 27.92 kB / 327.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.2936, allocations: 81.61 kB / 327.7 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.2938, allocations: 54.41 kB / 327.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.2942, allocations: 316.5 kB / 328.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.2944, allocations: 103.2 kB / 328.2 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2946, allocations: 115.7 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.2948, allocations: 132.8 kB / 328.4 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.2949, allocations: 25.03 kB / 328.5 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.12e-05/0.2949, allocations: 27.91 kB / 328.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.295, allocations: 60.09 kB / 328.5 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2952, allocations: 144.8 kB / 328.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.2955, allocations: 312.7 kB / 329 MB, free: 14.81 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2955, allocations: 4 kB / 329 MB, free: 14.81 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2955, allocations: 3.938 kB / 329 MB, free: 14.8 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2955, allocations: 0 / 329 MB, free: 14.8 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009306/0.2965, allocations: 0.5563 MB / 329.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.2966, allocations: 12.97 kB / 329.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.709e-05/0.2966, allocations: 36.81 kB / 329.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2969, allocations: 242.8 kB / 329.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.297, allocations: 18.66 kB / 329.9 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.2971, allocations: 34 kB / 329.9 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.2976, allocations: 259.1 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.2976, allocations: 1.281 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.2976, allocations: 15.06 kB / 330.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.2976, allocations: 9.719 kB / 330.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.298, allocations: 174.6 kB / 330.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.2992, allocations: 0.7504 MB / 331.1 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.2997, allocations: 285.3 kB / 331.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.3, allocations: 118.7 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3, allocations: 7.984 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.3, allocations: 42.09 kB / 331.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.3001, allocations: 0 / 331.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.003217/0.3033, allocations: 1.701 MB / 333.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.3034, allocations: 89.05 kB / 333.3 MB, free: 11.24 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.3036, allocations: 182.2 kB / 333.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.3036, allocations: 33.7 kB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3037, allocations: 132.8 kB / 333.7 MB, free: 10.87 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.3039, allocations: 173.4 kB / 333.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.304, allocations: 78.25 kB / 333.9 MB, free: 10.62 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3042, allocations: 334.8 kB / 334.2 MB, free: 10.28 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3043, allocations: 109.1 kB / 334.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.3046, allocations: 157.5 kB / 334.5 MB, free: 10 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.305, allocations: 282.1 kB / 334.8 MB, free: 9.719 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.305, allocations: 4 kB / 334.8 MB, free: 9.715 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005386/0.3055, allocations: 365.8 kB / 335.1 MB, free: 9.352 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3056, allocations: 8 kB / 335.1 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3056, allocations: 3.984 kB / 335.1 MB, free: 9.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.3056, allocations: 4 kB / 335.1 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.306, allocations: 99.84 kB / 335.2 MB, free: 9.238 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.3061, allocations: 11.88 kB / 335.3 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3062, allocations: 15.98 kB / 335.3 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.3062, allocations: 16 kB / 335.3 MB, free: 9.195 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.000169/0.3064, allocations: 145.8 kB / 335.4 MB, free: 9.043 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.3065, allocations: 35.66 kB / 335.5 MB, free: 9.008 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.3066, allocations: 33.88 kB / 335.5 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3066, allocations: 11.94 kB / 335.5 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.3066, allocations: 3.984 kB / 335.5 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3066, allocations: 0 / 335.5 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.3079, allocations: 0.9556 MB / 336.5 MB, free: 7.941 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.308, allocations: 7.938 kB / 336.5 MB, free: 7.934 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.3084, allocations: 95.89 kB / 336.6 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3084, allocations: 0 / 336.6 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3084, allocations: 8 kB / 336.6 MB, free: 7.832 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3084, allocations: 8.062 kB / 336.6 MB, free: 7.824 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3084, allocations: 0 / 336.6 MB, free: 7.824 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.3091, allocations: 0.6395 MB / 337.2 MB, free: 7.156 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.3092, allocations: 100.8 kB / 337.3 MB, free: 7.039 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.3092, allocations: 8 kB / 337.3 MB, free: 7.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.3094, allocations: 12 kB / 337.3 MB, free: 7.02 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.3095, allocations: 35.81 kB / 337.4 MB, free: 6.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3095, allocations: 8 kB / 337.4 MB, free: 6.977 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.3096, allocations: 137.5 kB / 337.5 MB, free: 6.844 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3096, allocations: 0 / 337.5 MB, free: 6.844 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000361/0.31, allocations: 80 kB / 337.6 MB, free: 6.766 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0001408/0.3101, allocations: 111.1 kB / 337.7 MB, free: 6.648 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.3106, allocations: 311.7 kB / 338 MB, free: 6.344 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3106, allocations: 0 / 338 MB, free: 6.344 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.3108, allocations: 168.4 kB / 338.2 MB, free: 6.18 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.3115, allocations: 67.98 kB / 338.2 MB, free: 6.113 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3131, allocations: 1.118 MB / 339.4 MB, free: 4.961 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3135, allocations: 0.7764 MB / 340.1 MB, free: 4.156 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.3136, allocations: 30.97 kB / 340.2 MB, free: 4.129 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.3137, allocations: 31.38 kB / 340.2 MB, free: 4.102 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3137, allocations: 0 / 340.2 MB, free: 4.102 MB / 270.1 MB Notification: Performance of Templates: time 0.006394/0.3201, allocations: 3.038 MB / 343.2 MB, free: 1.062 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)