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.001134/0.001134, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.571/1.571, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001181/0.001181, allocations: 52.3 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.323, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003317/0.3263, allocations: 2.467 MB / 327.8 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005595/0.3269, allocations: 251.8 kB / 328 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3271, allocations: 3.906 kB / 328 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.3272, allocations: 45.16 kB / 328.1 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.3274, allocations: 96.97 kB / 328.2 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3276, allocations: 61.41 kB / 328.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.3279, allocations: 318.3 kB / 328.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.3282, allocations: 99.14 kB / 328.6 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3283, allocations: 115.5 kB / 328.7 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.3285, allocations: 132.6 kB / 328.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.3285, allocations: 24.38 kB / 328.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.3286, allocations: 24.97 kB / 328.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.3286, allocations: 63.52 kB / 329 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3288, allocations: 144.9 kB / 329.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.3291, allocations: 308.7 kB / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3291, allocations: 3.984 kB / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3291, allocations: 0 / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3291, allocations: 0 / 329.4 MB, free: 14.74 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.0008361/0.33, allocations: 0.5676 MB / 330 MB, free: 14.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.33, allocations: 9.594 kB / 330 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.3301, allocations: 36.22 kB / 330 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.3304, allocations: 247.4 kB / 330.3 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.3304, allocations: 18.06 kB / 330.3 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.3305, allocations: 34.53 kB / 330.3 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.3309, allocations: 255.5 kB / 330.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.331, allocations: 5.656 kB / 330.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.331, allocations: 14.06 kB / 330.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.331, allocations: 6.5 kB / 330.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.3313, allocations: 181.2 kB / 330.8 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3324, allocations: 0.751 MB / 331.5 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.3328, allocations: 282.6 kB / 331.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.333, allocations: 123.2 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3331, allocations: 4.344 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3331, allocations: 37.5 kB / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.3331, allocations: 0 / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002694/0.3358, allocations: 1.706 MB / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3359, allocations: 81.11 kB / 333.8 MB, free: 11.1 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.336, allocations: 182.2 kB / 333.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.3361, allocations: 37.7 kB / 334 MB, free: 10.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3362, allocations: 132.8 kB / 334.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.3363, allocations: 177.4 kB / 334.3 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.3364, allocations: 82.25 kB / 334.4 MB, free: 10.46 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3366, allocations: 334.8 kB / 334.7 MB, free: 10.13 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.3368, allocations: 105.1 kB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.337, allocations: 157.4 kB / 334.9 MB, free: 9.855 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.3374, allocations: 278.2 kB / 335.2 MB, free: 9.574 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3374, allocations: 0 / 335.2 MB, free: 9.574 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005006/0.3379, allocations: 377.7 kB / 335.6 MB, free: 9.199 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3379, allocations: 11.12 kB / 335.6 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.338, allocations: 0 / 335.6 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.338, allocations: 4 kB / 335.6 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.3384, allocations: 99.89 kB / 335.7 MB, free: 9.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3384, allocations: 7.938 kB / 335.7 MB, free: 9.082 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3385, allocations: 8 kB / 335.7 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.3385, allocations: 23.94 kB / 335.7 MB, free: 9.051 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.0001352/0.3387, allocations: 149.8 kB / 335.9 MB, free: 8.895 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3387, allocations: 35.64 kB / 335.9 MB, free: 8.859 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.3388, allocations: 33.88 kB / 335.9 MB, free: 8.828 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3388, allocations: 4 kB / 335.9 MB, free: 8.824 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3389, allocations: 4 kB / 336 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3389, allocations: 7.969 kB / 336 MB, free: 8.812 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.3401, allocations: 0.9517 MB / 336.9 MB, free: 7.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3401, allocations: 3.938 kB / 336.9 MB, free: 7.793 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.3405, allocations: 103.8 kB / 337 MB, free: 7.691 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3405, allocations: 4.062 kB / 337 MB, free: 7.688 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.3405, allocations: 8 kB / 337 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3405, allocations: 7.984 kB / 337 MB, free: 7.672 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3405, allocations: 0 / 337 MB, free: 7.672 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.3412, allocations: 0.6395 MB / 337.7 MB, free: 7.004 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.3413, allocations: 100.8 kB / 337.8 MB, free: 6.887 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.3414, allocations: 12 kB / 337.8 MB, free: 6.875 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.3415, allocations: 8 kB / 337.8 MB, free: 6.867 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.3416, allocations: 35.81 kB / 337.8 MB, free: 6.832 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3416, allocations: 8 kB / 337.8 MB, free: 6.824 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.3417, allocations: 133.5 kB / 338 MB, free: 6.695 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3417, allocations: 0 / 338 MB, free: 6.695 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.3421, allocations: 80 kB / 338 MB, free: 6.617 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.0001169/0.3422, allocations: 119.1 kB / 338.2 MB, free: 6.492 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005152/0.3427, allocations: 310.7 kB / 338.5 MB, free: 6.188 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3428, allocations: 0 / 338.5 MB, free: 6.188 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.3429, allocations: 156.5 kB / 338.6 MB, free: 6.035 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/0.3436, allocations: 76.28 kB / 338.7 MB, free: 5.961 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3452, allocations: 0.9972 MB / 339.7 MB, free: 4.93 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3456, allocations: 0.7764 MB / 340.5 MB, free: 4.129 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.3458, allocations: 34.95 kB / 340.5 MB, free: 4.098 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.3458, allocations: 27.44 kB / 340.5 MB, free: 4.074 MB / 270.1 MB Notification: Performance of SimCode: time 5.831e-06/0.3459, allocations: 0 / 340.5 MB, free: 4.074 MB / 270.1 MB Notification: Performance of Templates: time 0.006356/0.3522, allocations: 3.047 MB / 343.6 MB, free: 1.027 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)