Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7079/0.7079, allocations: 110.8 MB / 118.3 MB, free: 14.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001643/0.001643, allocations: 171.4 kB / 144 MB, free: 4.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.838e-05, allocations: 4 kB / 173.9 MB, free: 22.78 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0372/0.03723, allocations: 25.17 MB / 199 MB, free: 13.68 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.194, allocations: 48.54 MB / 247.6 MB, free: 19.72 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.1942, allocations: 75.39 kB / 247.7 MB, free: 19.72 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7926/0.9868, allocations: 197.2 MB / 444.9 MB, free: 26.4 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.9869, allocations: 0 / 444.9 MB, free: 26.4 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002251/0.9871, allocations: 123.4 kB / 445 MB, free: 26.4 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2292 * Number of variables: 2292 Notification: Performance of Generate backend data structure: time 0.03079/1.018, allocations: 8.608 MB / 453.6 MB, free: 23.95 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.018, allocations: 12.62 kB / 453.6 MB, free: 23.95 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1325/1.151, allocations: 26.75 MB / 480.4 MB, free: 22.75 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/1.168, allocations: 7.702 MB / 488.1 MB, free: 22.03 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/1.168, allocations: 215.2 kB / 488.3 MB, free: 21.83 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/1.172, allocations: 375.9 kB / 488.6 MB, free: 21.47 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02747/1.199, allocations: 17.8 MB / 0.4946 GB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04336/1.243, allocations: 19.77 MB / 0.5139 GB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003777/1.243, allocations: 44.91 kB / 0.5139 GB, free: 7.992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004422/1.248, allocations: 24 kB / 0.5139 GB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1915/1.439, allocations: 10.83 MB / 0.5245 GB, free: 38.99 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6586/2.098, allocations: 140.8 MB / 0.662 GB, free: 33.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006257/2.104, allocations: 5.002 MB / 0.6669 GB, free: 33.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003971/2.108, allocations: 3.109 MB / 0.6699 GB, free: 32.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/2.109, allocations: 0.5863 MB / 0.6705 GB, free: 32.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/2.109, allocations: 74.42 kB / 0.6706 GB, free: 32.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=308): time 8.866e-06/2.109, allocations: 0 / 0.6706 GB, free: 32.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=325): time 0.04356/2.152, allocations: 24.85 MB / 0.6948 GB, free: 20.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/2.152, allocations: 372.8 kB / 0.6952 GB, free: 20.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005556/2.158, allocations: 4.054 MB / 0.6991 GB, free: 17.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001031/2.159, allocations: 29.7 kB / 0.6992 GB, free: 17.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/2.161, allocations: 4.357 MB / 0.7034 GB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001617/2.163, allocations: 1.182 MB / 0.7046 GB, free: 12.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006595/2.163, allocations: 0 / 0.7046 GB, free: 12.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003613/2.164, allocations: 0.6933 MB / 0.7052 GB, free: 11.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004691/2.169, allocations: 3.927 MB / 0.7091 GB, free: 8.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007353/2.176, allocations: 9.18 MB / 0.718 GB, free: 13.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007251/2.183, allocations: 5.011 MB / 0.7229 GB, free: 9.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/2.183, allocations: 56 kB / 0.723 GB, free: 9.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.1576/2.341, allocations: 12.15 MB / 0.7349 GB, free: 53.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/2.341, allocations: 90.19 kB / 0.735 GB, free: 53.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007031/2.348, allocations: 3.829 MB / 0.7387 GB, free: 53.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/2.351, allocations: 1.053 MB / 0.7397 GB, free: 53.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00867/2.36, allocations: 2.258 MB / 0.7419 GB, free: 53.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/2.363, allocations: 3.955 MB / 0.7458 GB, free: 51.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0181/2.381, allocations: 2.182 MB / 0.7479 GB, free: 51.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003042/2.385, allocations: 0.7908 MB / 0.7487 GB, free: 51.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 857 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1133): * Single equations (assignments): 1110 * Array equations: 19 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002826/2.387, allocations: 0.5699 MB / 0.7492 GB, free: 51.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/2.389, allocations: 425 kB / 0.7496 GB, free: 51.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007569/2.396, allocations: 4.285 MB / 0.7538 GB, free: 51.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02364/2.42, allocations: 7.033 MB / 0.7607 GB, free: 50.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.585e-05/2.42, allocations: 7.969 kB / 0.7607 GB, free: 50.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.4e-05/2.42, allocations: 13.36 kB / 0.7607 GB, free: 50.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07717/2.497, allocations: 25.42 MB / 0.7855 GB, free: 48.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/2.497, allocations: 23.78 kB / 0.7856 GB, free: 48.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/2.5, allocations: 0.5467 MB / 0.7861 GB, free: 48.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/2.503, allocations: 0.9579 MB / 0.787 GB, free: 48.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007779/2.503, allocations: 149.5 kB / 0.7872 GB, free: 48.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/2.508, allocations: 4.494 MB / 0.7916 GB, free: 46.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007749/2.509, allocations: 1.428 MB / 0.793 GB, free: 45.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/2.524, allocations: 13.46 MB / 0.8061 GB, free: 36.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003237/2.528, allocations: 1.223 MB / 0.8073 GB, free: 35.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/2.529, allocations: 34.47 kB / 0.8073 GB, free: 35.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01165/2.54, allocations: 1.753 MB / 0.809 GB, free: 34.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008355/2.541, allocations: 257 kB / 0.8093 GB, free: 34.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006887/2.542, allocations: 343.8 kB / 0.8096 GB, free: 34.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.004356/2.546, allocations: 2.659 MB / 0.8122 GB, free: 31.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.182e-06/2.546, allocations: 0 / 0.8122 GB, free: 31.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.009988/2.556, allocations: 1.417 MB / 0.8136 GB, free: 30.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 14 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 256 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009786/2.557, allocations: 202.6 kB / 0.8138 GB, free: 30.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0145/2.572, allocations: 9.334 MB / 0.8229 GB, free: 22.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.252e-05/2.572, allocations: 4 kB / 0.8229 GB, free: 22.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005862/2.578, allocations: 3.767 MB / 0.8266 GB, free: 18.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/2.581, allocations: 416 kB / 0.827 GB, free: 18.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1897/2.771, allocations: 12.66 MB / 0.8394 GB, free: 51.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009279/2.78, allocations: 4.523 MB / 0.8438 GB, free: 50.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01291/2.793, allocations: 3.404 MB / 0.8471 GB, free: 50.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00366/2.797, allocations: 0.7626 MB / 0.8478 GB, free: 50.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.794e-06/2.797, allocations: 0 / 0.8478 GB, free: 50.45 MB / 282.7 MB Notification: Performance of Templates: time 0.1121/2.909, allocations: 69.61 MB / 0.9158 GB, free: 25.45 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)