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.001133/0.001133, 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.0013/0.0013, allocations: 196.8 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.546/1.546, allocations: 205.1 MB / 222 MB, free: 4.777 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.00145/0.00145, allocations: 51.94 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2776, allocations: 46.62 MB / 324.7 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003863/0.2815, allocations: 2.513 MB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005222/0.2821, allocations: 259.6 kB / 327.4 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2822, allocations: 5.344 kB / 327.4 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.2824, allocations: 34.83 kB / 327.5 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.2826, allocations: 75.7 kB / 327.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.2828, allocations: 57.56 kB / 327.6 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.2831, allocations: 304.8 kB / 327.9 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.2834, allocations: 80.89 kB / 328 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2835, allocations: 115.1 kB / 328.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2837, allocations: 128.4 kB / 328.2 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.2837, allocations: 16.34 kB / 328.2 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.994e-05/0.2838, allocations: 16.91 kB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.2839, allocations: 43.88 kB / 328.3 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.284, allocations: 141.3 kB / 328.4 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.2843, allocations: 304.1 kB / 328.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2843, allocations: 0 / 328.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2843, allocations: 0 / 328.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2844, allocations: 1.531 kB / 328.7 MB, free: 14.84 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.0008833/0.2852, allocations: 0.5663 MB / 329.3 MB, free: 14.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2853, allocations: 9.312 kB / 329.3 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.2854, allocations: 32.94 kB / 329.3 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2856, allocations: 242.1 kB / 329.6 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2857, allocations: 27.94 kB / 329.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.2857, allocations: 29 kB / 329.6 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.2862, allocations: 255.1 kB / 329.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2862, allocations: 2.469 kB / 329.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.2863, allocations: 14.12 kB / 329.9 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2863, allocations: 5.969 kB / 329.9 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.2866, allocations: 177.9 kB / 330.1 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.2878, allocations: 0.7541 MB / 330.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.2882, allocations: 275 kB / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2884, allocations: 126.9 kB / 331.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.2885, allocations: 8.188 kB / 331.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.2885, allocations: 36.66 kB / 331.3 MB, free: 12.84 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/0.2885, allocations: 0 / 331.3 MB, free: 12.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002901/0.2914, allocations: 1.702 MB / 333 MB, free: 11.49 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.2915, allocations: 85.11 kB / 333.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.2916, allocations: 178.2 kB / 333.2 MB, free: 11.2 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.2917, allocations: 37.7 kB / 333.3 MB, free: 11.16 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2918, allocations: 136.8 kB / 333.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.2919, allocations: 177.4 kB / 333.6 MB, free: 10.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.292, allocations: 70.27 kB / 333.6 MB, free: 10.76 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2922, allocations: 338.8 kB / 334 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.2924, allocations: 113 kB / 334.1 MB, free: 10.31 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.2926, allocations: 153.5 kB / 334.2 MB, free: 10.15 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.293, allocations: 286.1 kB / 334.5 MB, free: 9.859 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.293, allocations: 0 / 334.5 MB, free: 9.859 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000488/0.2935, allocations: 377.7 kB / 334.9 MB, free: 9.484 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2935, allocations: 4 kB / 334.9 MB, free: 9.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.2936, allocations: 4 kB / 334.9 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2936, allocations: 0 / 334.9 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.294, allocations: 108 kB / 335 MB, free: 9.371 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.294, allocations: 4 kB / 335 MB, free: 9.367 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2941, allocations: 12 kB / 335 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2941, allocations: 16 kB / 335 MB, free: 9.34 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.0001441/0.2943, allocations: 149.7 kB / 335.2 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.2943, allocations: 35.64 kB / 335.2 MB, free: 9.148 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-05/0.2944, allocations: 41.86 kB / 335.2 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2944, allocations: 4 kB / 335.2 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.2945, allocations: 0 / 335.2 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2945, allocations: 4 kB / 335.3 MB, free: 9.098 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.2957, allocations: 0.9556 MB / 336.2 MB, free: 8.078 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2957, allocations: 3.938 kB / 336.2 MB, free: 8.074 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.2961, allocations: 95.89 kB / 336.3 MB, free: 7.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2961, allocations: 4 kB / 336.3 MB, free: 7.977 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2961, allocations: 8 kB / 336.3 MB, free: 7.969 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.2961, allocations: 7.938 kB / 336.3 MB, free: 7.961 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2961, allocations: 0 / 336.3 MB, free: 7.961 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.2969, allocations: 0.6396 MB / 337 MB, free: 7.297 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.297, allocations: 96.83 kB / 337.1 MB, free: 7.184 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.297, allocations: 11.98 kB / 337.1 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.2972, allocations: 12 kB / 337.1 MB, free: 7.16 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.2972, allocations: 31.77 kB / 337.1 MB, free: 7.129 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.2973, allocations: 12 kB / 337.1 MB, free: 7.117 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.941e-05/0.2974, allocations: 141.5 kB / 337.3 MB, free: 6.98 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2974, allocations: 0 / 337.3 MB, free: 6.98 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.2977, allocations: 80 kB / 337.3 MB, free: 6.902 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.0001283/0.2979, allocations: 107.3 kB / 337.4 MB, free: 6.789 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004863/0.2984, allocations: 291.8 kB / 337.7 MB, free: 6.504 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2984, allocations: 0 / 337.7 MB, free: 6.504 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.2986, allocations: 155.6 kB / 337.9 MB, free: 6.352 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.2992, allocations: 80.02 kB / 338 MB, free: 6.273 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3007, allocations: 1.109 MB / 339.1 MB, free: 5.133 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3011, allocations: 0.7806 MB / 339.9 MB, free: 4.32 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.3012, allocations: 26.97 kB / 339.9 MB, free: 4.297 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.3013, allocations: 27.44 kB / 339.9 MB, free: 4.273 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3013, allocations: 0 / 339.9 MB, free: 4.273 MB / 270.1 MB Notification: Performance of Templates: time 0.00609/0.3074, allocations: 2.911 MB / 342.8 MB, free: 1.363 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)