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.001088/0.001087, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001092/0.001092, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004837/0.0004838, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.276, allocations: 47.59 MB / 326.4 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002191/0.2782, allocations: 1.955 MB / 328.4 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005958/0.2788, allocations: 270.7 kB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.279, allocations: 5.125 kB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.278e-05/0.279, allocations: 31.33 kB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.2793, allocations: 109.7 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.2795, allocations: 46.73 kB / 328.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.2798, allocations: 223.5 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.28, allocations: 68.31 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2801, allocations: 104.8 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.2803, allocations: 116.4 kB / 329.4 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.2803, allocations: 13.59 kB / 329.4 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-05/0.2804, allocations: 13.78 kB / 329.4 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.2804, allocations: 43.55 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.2805, allocations: 77.45 kB / 329.5 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.2807, allocations: 223.2 kB / 329.7 MB, free: 14.92 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2807, allocations: 0 / 329.7 MB, free: 14.92 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2807, allocations: 0 / 329.7 MB, free: 14.92 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2808, allocations: 1.188 kB / 329.7 MB, free: 14.92 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.0007473/0.2815, allocations: 0.5258 MB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2816, allocations: 8.812 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.2816, allocations: 35.89 kB / 330.3 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.2819, allocations: 244.1 kB / 330.5 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.2819, allocations: 27.81 kB / 330.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.282, allocations: 28.28 kB / 330.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.2824, allocations: 243 kB / 330.8 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2824, allocations: 1.906 kB / 330.8 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.2825, allocations: 10.28 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2825, allocations: 10.23 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.2828, allocations: 180.5 kB / 331 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2838, allocations: 0.7496 MB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.2842, allocations: 268.8 kB / 332 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2842, allocations: 7.688 kB / 332 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2843, allocations: 36.78 kB / 332.1 MB, free: 13.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.2843, allocations: 0 / 332.1 MB, free: 13.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002636/0.2869, allocations: 1.719 MB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.287, allocations: 82.52 kB / 333.9 MB, free: 11.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2872, allocations: 178.8 kB / 334 MB, free: 11.43 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.2872, allocations: 39.73 kB / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2873, allocations: 145.6 kB / 334.2 MB, free: 11.25 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.2875, allocations: 174.3 kB / 334.4 MB, free: 11.1 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.2875, allocations: 10.06 kB / 334.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2876, allocations: 336.5 kB / 334.7 MB, free: 10.76 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.2878, allocations: 104.8 kB / 334.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.288, allocations: 153.5 kB / 335 MB, free: 10.54 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.2882, allocations: 130.3 kB / 335.1 MB, free: 10.41 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2882, allocations: 0 / 335.1 MB, free: 10.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004933/0.2887, allocations: 370.3 kB / 335.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2887, allocations: 4 kB / 335.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2888, allocations: 0 / 335.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2888, allocations: 4 kB / 335.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.2892, allocations: 104 kB / 335.6 MB, free: 9.934 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2892, allocations: 7.938 kB / 335.6 MB, free: 9.926 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2893, allocations: 12 kB / 335.6 MB, free: 9.914 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2893, allocations: 16 kB / 335.6 MB, free: 9.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.2895, allocations: 145.8 kB / 335.8 MB, free: 9.746 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.2895, allocations: 31.67 kB / 335.8 MB, free: 9.715 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.2896, allocations: 37.86 kB / 335.8 MB, free: 9.68 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2896, allocations: 4 kB / 335.8 MB, free: 9.676 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2897, allocations: 0 / 335.8 MB, free: 9.676 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2897, allocations: 7.984 kB / 335.8 MB, free: 9.668 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.2909, allocations: 0.9555 MB / 336.8 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2909, allocations: 0 / 336.8 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.2913, allocations: 99.83 kB / 336.9 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2913, allocations: 4 kB / 336.9 MB, free: 8.547 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.2913, allocations: 11.95 kB / 336.9 MB, free: 8.535 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2913, allocations: 4 kB / 336.9 MB, free: 8.531 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2913, allocations: 3.984 kB / 336.9 MB, free: 8.527 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.2921, allocations: 0.6719 MB / 337.6 MB, free: 7.812 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.2922, allocations: 96.83 kB / 337.7 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.2922, allocations: 12 kB / 337.7 MB, free: 7.688 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2924, allocations: 12 kB / 337.7 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.2924, allocations: 31.89 kB / 337.7 MB, free: 7.645 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.2925, allocations: 16 kB / 337.8 MB, free: 7.629 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.2926, allocations: 133.5 kB / 337.9 MB, free: 7.5 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2926, allocations: 0 / 337.9 MB, free: 7.5 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.293, allocations: 80 kB / 338 MB, free: 7.422 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.2931, allocations: 115.1 kB / 338.1 MB, free: 7.301 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.2935, allocations: 290.7 kB / 338.4 MB, free: 7.016 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.2936, allocations: 4 kB / 338.4 MB, free: 7.012 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.2938, allocations: 148.6 kB / 338.5 MB, free: 6.867 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.2942, allocations: 55.86 kB / 338.6 MB, free: 6.812 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2958, allocations: 1.215 MB / 339.8 MB, free: 5.559 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.2962, allocations: 0.7809 MB / 340.6 MB, free: 4.746 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.2963, allocations: 38.95 kB / 340.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.2964, allocations: 27.44 kB / 340.6 MB, free: 4.688 MB / 270.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2964, allocations: 0 / 340.6 MB, free: 4.688 MB / 270.1 MB Notification: Performance of Templates: time 0.005938/0.3023, allocations: 2.746 MB / 343.4 MB, free: 1.941 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: