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.0008954/0.0008955, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005082/0.005082, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.568/1.568, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004847/0.0004848, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002311/0.2827, allocations: 2.149 MB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004889/0.2832, allocations: 254.6 kB / 329.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2833, allocations: 8.781 kB / 329.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2835, allocations: 27.8 kB / 329.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.2836, allocations: 78.64 kB / 329.5 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.2838, allocations: 54.47 kB / 329.6 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.2842, allocations: 308.8 kB / 329.9 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.2844, allocations: 84.98 kB / 330 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2845, allocations: 98.41 kB / 330.1 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.2847, allocations: 123.5 kB / 330.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.2848, allocations: 13 kB / 330.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.726e-05/0.2848, allocations: 13.97 kB / 330.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.2849, allocations: 43.84 kB / 330.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.2851, allocations: 157.8 kB / 330.4 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.2854, allocations: 300.3 kB / 330.7 MB, free: 14.61 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2855, allocations: 0 / 330.7 MB, free: 14.61 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2855, allocations: 1 kB / 330.7 MB, free: 14.61 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2855, allocations: 0 / 330.7 MB, free: 14.61 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.0009075/0.2864, allocations: 0.5237 MB / 331.2 MB, free: 14.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.2865, allocations: 9.219 kB / 331.2 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.2865, allocations: 32.25 kB / 331.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.2869, allocations: 255.2 kB / 331.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.2869, allocations: 22.5 kB / 331.5 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/0.287, allocations: 34.06 kB / 331.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.2875, allocations: 251 kB / 331.8 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.2875, allocations: 10.33 kB / 331.8 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.2876, allocations: 13.84 kB / 331.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.2876, allocations: 6.844 kB / 331.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.2879, allocations: 177.2 kB / 332 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.2892, allocations: 0.7495 MB / 332.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.2896, allocations: 287.7 kB / 333.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2899, allocations: 123.9 kB / 333.2 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2899, allocations: 2.219 kB / 333.2 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.2899, allocations: 37.06 kB / 333.2 MB, free: 12.63 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/0.2899, allocations: 4 kB / 333.2 MB, free: 12.63 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002698/0.2927, allocations: 1.7 MB / 334.9 MB, free: 11.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.2927, allocations: 89.11 kB / 335 MB, free: 11.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2929, allocations: 182.2 kB / 335.2 MB, free: 10.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.293, allocations: 37.7 kB / 335.2 MB, free: 10.78 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2931, allocations: 132.8 kB / 335.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.2932, allocations: 181.4 kB / 335.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.2933, allocations: 41.7 kB / 335.6 MB, free: 10.42 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2935, allocations: 342.8 kB / 335.9 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.2937, allocations: 101.1 kB / 336 MB, free: 9.973 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.2939, allocations: 157.5 kB / 336.2 MB, free: 9.805 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.2944, allocations: 282.1 kB / 336.4 MB, free: 9.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2944, allocations: 0 / 336.4 MB, free: 9.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005928/0.295, allocations: 369.8 kB / 336.8 MB, free: 9.152 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.295, allocations: 4 kB / 336.8 MB, free: 9.148 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.2951, allocations: 4 kB / 336.8 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2951, allocations: 0 / 336.8 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.2954, allocations: 103.9 kB / 336.9 MB, free: 9.043 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2955, allocations: 0 / 336.9 MB, free: 9.043 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.2956, allocations: 12 kB / 336.9 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.2956, allocations: 20.06 kB / 336.9 MB, free: 9.012 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.0001418/0.2958, allocations: 149.7 kB / 337.1 MB, free: 8.855 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.2958, allocations: 35.56 kB / 337.1 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.296, allocations: 41.86 kB / 337.2 MB, free: 8.781 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.296, allocations: 7.938 kB / 337.2 MB, free: 8.773 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.296, allocations: 4 kB / 337.2 MB, free: 8.77 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.296, allocations: 7.984 kB / 337.2 MB, free: 8.762 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.2973, allocations: 0.9516 MB / 338.1 MB, free: 7.746 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2973, allocations: 8 kB / 338.1 MB, free: 7.738 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.2977, allocations: 99.83 kB / 338.2 MB, free: 7.641 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.2977, allocations: 4 kB / 338.2 MB, free: 7.637 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.2977, allocations: 12 kB / 338.2 MB, free: 7.625 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.2977, allocations: 0 / 338.2 MB, free: 7.625 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2977, allocations: 4 kB / 338.2 MB, free: 7.621 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.2985, allocations: 0.6356 MB / 338.9 MB, free: 6.957 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.2986, allocations: 104.7 kB / 339 MB, free: 6.836 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.2987, allocations: 8 kB / 339 MB, free: 6.828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.2988, allocations: 12 kB / 339 MB, free: 6.816 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.2989, allocations: 31.77 kB / 339 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/0.2989, allocations: 12 kB / 339 MB, free: 6.773 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2991, allocations: 137.5 kB / 339.2 MB, free: 6.641 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2991, allocations: 0 / 339.2 MB, free: 6.641 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000359/0.2994, allocations: 84 kB / 339.3 MB, free: 6.559 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.0001477/0.2996, allocations: 103.3 kB / 339.4 MB, free: 6.449 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.3, allocations: 291.8 kB / 339.6 MB, free: 6.164 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3001, allocations: 0 / 339.6 MB, free: 6.164 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.3003, allocations: 156.4 kB / 339.8 MB, free: 6.012 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.3009, allocations: 80.11 kB / 339.9 MB, free: 5.934 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3025, allocations: 1.234 MB / 341.1 MB, free: 4.664 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3028, allocations: 0.7767 MB / 341.9 MB, free: 3.855 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.303, allocations: 30.97 kB / 341.9 MB, free: 3.828 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.96e-05/0.3031, allocations: 27.44 kB / 341.9 MB, free: 3.805 MB / 270.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3031, allocations: 0 / 341.9 MB, free: 3.805 MB / 270.1 MB Notification: Performance of Templates: time 0.006305/0.3094, allocations: 2.894 MB / 344.8 MB, free: 0.9102 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)