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.00093/0.0009305, allocations: 90.52 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.01142/0.01142, allocations: 170.2 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.708/1.708, 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.0004782/0.0004781, allocations: 16 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2782, allocations: 47.58 MB / 327 MB, free: 1.359 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00222/0.2804, allocations: 2.148 MB / 329.2 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005005/0.2809, allocations: 251.5 kB / 329.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.2811, allocations: 4.25 kB / 329.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.2812, allocations: 36.14 kB / 329.5 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.2814, allocations: 77.61 kB / 329.5 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.2816, allocations: 58.56 kB / 329.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.2819, allocations: 305.2 kB / 329.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.2821, allocations: 85.55 kB / 330 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2823, allocations: 96.88 kB / 330.1 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.2825, allocations: 124.2 kB / 330.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.2825, allocations: 14 kB / 330.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.48e-05/0.2826, allocations: 13.06 kB / 330.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.2826, allocations: 48.5 kB / 330.3 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.2828, allocations: 157.1 kB / 330.4 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.2831, allocations: 296.3 kB / 330.7 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2832, allocations: 1.438 kB / 330.7 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2832, allocations: 0 / 330.7 MB, free: 14.56 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2832, allocations: 0 / 330.7 MB, free: 14.56 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.0009345/0.2841, allocations: 0.5271 MB / 331.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.2842, allocations: 10.09 kB / 331.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.2843, allocations: 32.03 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.2846, allocations: 243 kB / 331.5 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.2847, allocations: 22.38 kB / 331.5 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.2847, allocations: 29.84 kB / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.2854, allocations: 263.4 kB / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.2854, allocations: 2.281 kB / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.2855, allocations: 14.38 kB / 331.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.2855, allocations: 5.875 kB / 331.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.2859, allocations: 173.6 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.2872, allocations: 0.7582 MB / 332.8 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.2877, allocations: 273.8 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.2879, allocations: 128.1 kB / 333.2 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.288, allocations: 4.375 kB / 333.2 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.288, allocations: 44.03 kB / 333.2 MB, free: 12.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.288, allocations: 0 / 333.2 MB, free: 12.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.003016/0.291, allocations: 1.704 MB / 334.9 MB, free: 11.08 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.2911, allocations: 89.05 kB / 335 MB, free: 10.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.2914, allocations: 186.2 kB / 335.2 MB, free: 10.78 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.2914, allocations: 33.7 kB / 335.2 MB, free: 10.74 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2916, allocations: 136.8 kB / 335.4 MB, free: 10.6 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.2917, allocations: 177.4 kB / 335.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.2918, allocations: 45.69 kB / 335.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.292, allocations: 338.8 kB / 335.9 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2922, allocations: 109 kB / 336 MB, free: 9.926 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2924, allocations: 153.5 kB / 336.2 MB, free: 9.762 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.2929, allocations: 286.1 kB / 336.4 MB, free: 9.473 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2929, allocations: 0 / 336.4 MB, free: 9.473 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005/0.2934, allocations: 365.9 kB / 336.8 MB, free: 9.109 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2935, allocations: 4 kB / 336.8 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2935, allocations: 4 kB / 336.8 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2935, allocations: 0 / 336.8 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.2939, allocations: 107.8 kB / 336.9 MB, free: 8.996 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2939, allocations: 0 / 336.9 MB, free: 8.996 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.294, allocations: 12.06 kB / 336.9 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.294, allocations: 16 kB / 336.9 MB, free: 8.969 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.0001539/0.2942, allocations: 149.7 kB / 337.1 MB, free: 8.812 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.2943, allocations: 35.56 kB / 337.1 MB, free: 8.777 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.2944, allocations: 41.86 kB / 337.2 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2944, allocations: 7.938 kB / 337.2 MB, free: 8.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.2944, allocations: 0 / 337.2 MB, free: 8.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.2944, allocations: 7.984 kB / 337.2 MB, free: 8.723 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.2958, allocations: 0.9517 MB / 338.1 MB, free: 7.707 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2958, allocations: 3.938 kB / 338.1 MB, free: 7.703 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.2962, allocations: 95.89 kB / 338.2 MB, free: 7.609 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2962, allocations: 4 kB / 338.2 MB, free: 7.605 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.2963, allocations: 12 kB / 338.2 MB, free: 7.594 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2963, allocations: 0 / 338.2 MB, free: 7.594 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2963, allocations: 7.984 kB / 338.2 MB, free: 7.586 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008229/0.2971, allocations: 0.6395 MB / 338.9 MB, free: 6.918 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.2972, allocations: 100.7 kB / 339 MB, free: 6.801 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.2972, allocations: 12 kB / 339 MB, free: 6.789 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.2974, allocations: 8 kB / 339 MB, free: 6.781 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.2974, allocations: 31.81 kB / 339 MB, free: 6.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2975, allocations: 16 kB / 339 MB, free: 6.734 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2976, allocations: 133.5 kB / 339.2 MB, free: 6.605 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2976, allocations: 4 kB / 339.2 MB, free: 6.602 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.298, allocations: 76 kB / 339.3 MB, free: 6.527 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.0001395/0.2981, allocations: 115.1 kB / 339.4 MB, free: 6.406 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004439/0.2986, allocations: 283.8 kB / 339.6 MB, free: 6.129 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2986, allocations: 0 / 339.6 MB, free: 6.129 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.2988, allocations: 164.4 kB / 339.8 MB, free: 5.969 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.2994, allocations: 72.08 kB / 339.9 MB, free: 5.898 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3011, allocations: 1.238 MB / 341.1 MB, free: 4.625 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3015, allocations: 0.7767 MB / 341.9 MB, free: 3.816 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.3016, allocations: 30.97 kB / 341.9 MB, free: 3.789 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.3017, allocations: 31.42 kB / 342 MB, free: 3.762 MB / 270.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3017, allocations: 0 / 342 MB, free: 3.762 MB / 270.1 MB Notification: Performance of Templates: time 0.00651/0.3082, allocations: 2.886 MB / 344.8 MB, free: 0.875 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)