Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.001494/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001915/0.001914, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.52/1.52, allocations: 205.1 MB / 222 MB, free: 4.754 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.001203/0.001203, allocations: 48.36 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2883, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003452/0.2918, allocations: 2.513 MB / 327.2 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005667/0.2924, allocations: 258.2 kB / 327.4 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.2926, allocations: 9.438 kB / 327.4 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.2928, allocations: 27.86 kB / 327.5 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.293, allocations: 78.42 kB / 327.5 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.2932, allocations: 57.66 kB / 327.6 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.2936, allocations: 303.9 kB / 327.9 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.2938, allocations: 82.08 kB / 328 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.2939, allocations: 110.7 kB / 328.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.2941, allocations: 128.6 kB / 328.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.2942, allocations: 15.97 kB / 328.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.362e-05/0.2942, allocations: 17.59 kB / 328.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.2943, allocations: 47.16 kB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2945, allocations: 141 kB / 328.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.2948, allocations: 304.9 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2948, allocations: 1.188 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2948, allocations: 0 / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2948, allocations: 0 / 328.7 MB, free: 14.86 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.0008389/0.2957, allocations: 0.5673 MB / 329.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2957, allocations: 8.719 kB / 329.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.697e-05/0.2958, allocations: 33.22 kB / 329.3 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.2961, allocations: 249.8 kB / 329.6 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.2961, allocations: 19.59 kB / 329.6 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.2962, allocations: 26.25 kB / 329.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.2967, allocations: 258.9 kB / 329.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.2967, allocations: 1.5 kB / 329.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.2967, allocations: 14.41 kB / 329.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2967, allocations: 6.594 kB / 329.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.2971, allocations: 177.7 kB / 330.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2983, allocations: 0.7542 MB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.2988, allocations: 283.4 kB / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.299, allocations: 119.3 kB / 331.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.299, allocations: 3.281 kB / 331.2 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.2991, allocations: 40.8 kB / 331.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 3.347e-06/0.2991, allocations: 5.125 kB / 331.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.003065/0.3021, allocations: 1.699 MB / 333 MB, free: 11.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.3023, allocations: 85.09 kB / 333.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3025, allocations: 186.2 kB / 333.2 MB, free: 11.2 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3025, allocations: 29.7 kB / 333.3 MB, free: 11.16 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3026, allocations: 136.8 kB / 333.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3028, allocations: 173.4 kB / 333.6 MB, free: 10.85 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3029, allocations: 78.25 kB / 333.6 MB, free: 10.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3031, allocations: 342.8 kB / 334 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.3033, allocations: 101.1 kB / 334.1 MB, free: 10.32 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.3036, allocations: 157.4 kB / 334.2 MB, free: 10.16 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.304, allocations: 282.2 kB / 334.5 MB, free: 9.871 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.304, allocations: 4 kB / 334.5 MB, free: 9.867 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005247/0.3045, allocations: 373.7 kB / 334.9 MB, free: 9.496 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3046, allocations: 4 kB / 334.9 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3046, allocations: 0 / 334.9 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3046, allocations: 7.984 kB / 334.9 MB, free: 9.484 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.305, allocations: 99.91 kB / 335 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-05/0.305, allocations: 7.984 kB / 335 MB, free: 9.379 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3052, allocations: 15.94 kB / 335 MB, free: 9.363 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.3052, allocations: 15.98 kB / 335 MB, free: 9.348 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.0001529/0.3053, allocations: 153.8 kB / 335.2 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.3054, allocations: 27.66 kB / 335.2 MB, free: 9.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.274e-05/0.3055, allocations: 37.88 kB / 335.2 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3055, allocations: 8 kB / 335.2 MB, free: 9.113 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3056, allocations: 0 / 335.2 MB, free: 9.113 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.3056, allocations: 3.984 kB / 335.2 MB, free: 9.109 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.3069, allocations: 0.9556 MB / 336.2 MB, free: 8.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3069, allocations: 7.938 kB / 336.2 MB, free: 8.082 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.3073, allocations: 95.84 kB / 336.3 MB, free: 7.988 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.3073, allocations: 8.047 kB / 336.3 MB, free: 7.98 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3073, allocations: 8 kB / 336.3 MB, free: 7.973 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3073, allocations: 4 kB / 336.3 MB, free: 7.969 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3074, allocations: 0 / 336.3 MB, free: 7.969 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.3081, allocations: 0.6395 MB / 337 MB, free: 7.305 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.3082, allocations: 104.8 kB / 337.1 MB, free: 7.184 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.3083, allocations: 8 kB / 337.1 MB, free: 7.176 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3084, allocations: 12 kB / 337.1 MB, free: 7.164 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.3085, allocations: 35.75 kB / 337.1 MB, free: 7.129 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3085, allocations: 12 kB / 337.1 MB, free: 7.117 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.3087, allocations: 137.5 kB / 337.3 MB, free: 6.984 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 0 / 337.3 MB, free: 6.984 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.3091, allocations: 80 kB / 337.3 MB, free: 6.906 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.0001291/0.3092, allocations: 107.2 kB / 337.5 MB, free: 6.793 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004589/0.3097, allocations: 291.8 kB / 337.7 MB, free: 6.508 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3097, allocations: 0 / 337.7 MB, free: 6.508 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.3099, allocations: 155.6 kB / 337.9 MB, free: 6.355 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.3106, allocations: 76.03 kB / 338 MB, free: 6.281 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.3121, allocations: 1.106 MB / 339.1 MB, free: 5.145 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.3125, allocations: 0.7728 MB / 339.8 MB, free: 4.34 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.3127, allocations: 38.94 kB / 339.9 MB, free: 4.305 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.3128, allocations: 31.44 kB / 339.9 MB, free: 4.277 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3128, allocations: 0 / 339.9 MB, free: 4.277 MB / 270.1 MB Notification: Performance of Templates: time 0.005986/0.3187, allocations: 2.899 MB / 342.8 MB, free: 1.379 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)