Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009121/0.0009121, allocations: 85.86 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.351e-05, allocations: 0 / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.09839, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.4186, allocations: 99.42 MB / 0.4897 GB, free: 6.289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4189, allocations: 86.7 kB / 0.4898 GB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4812/0.9001, allocations: 97.26 MB / 0.5848 GB, free: 78.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.9001, allocations: 3.609 kB / 0.5848 GB, free: 78.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002467/0.9004, allocations: 89.59 kB / 0.5849 GB, free: 78.94 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01606/0.9164, allocations: 4.803 MB / 0.5895 GB, free: 77.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.9165, allocations: 9.625 kB / 0.5896 GB, free: 77.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.929, allocations: 2.75 MB / 0.5922 GB, free: 76.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.9419, allocations: 4.683 MB / 0.5968 GB, free: 76.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/0.9423, allocations: 358.1 kB / 0.5972 GB, free: 76.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/0.9446, allocations: 481.2 kB / 0.5976 GB, free: 76.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.9769, allocations: 12.51 MB / 0.6098 GB, free: 73.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004916/0.9775, allocations: 74.8 kB / 0.6099 GB, free: 73.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/0.98, allocations: 229.8 kB / 0.6101 GB, free: 73.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002911/0.9829, allocations: 1.208 MB / 0.6113 GB, free: 73.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02568/1.009, allocations: 10.14 MB / 0.6212 GB, free: 72.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/1.06, allocations: 52.88 MB / 0.6728 GB, free: 35.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.071, allocations: 4.51 MB / 0.6772 GB, free: 33.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/1.073, allocations: 1.663 MB / 0.6789 GB, free: 32.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/1.083, allocations: 8.264 MB / 0.6869 GB, free: 27.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.083, allocations: 63.98 kB / 0.687 GB, free: 27.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 5.24e-06/1.083, allocations: 0 / 0.687 GB, free: 27.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=205): time 0.03218/1.116, allocations: 13.67 MB / 0.7003 GB, free: 22.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008966/1.117, allocations: 1.601 MB / 0.7019 GB, free: 21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004628/1.121, allocations: 3.672 MB / 0.7055 GB, free: 19.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003693/1.122, allocations: 54.48 kB / 0.7055 GB, free: 19.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/1.123, allocations: 3.406 MB / 0.7089 GB, free: 16.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007286/1.124, allocations: 0.8115 MB / 0.7097 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/1.124, allocations: 136 kB / 0.7098 GB, free: 15.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00025/1.124, allocations: 0.5944 MB / 0.7104 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/1.127, allocations: 2.128 MB / 0.7125 GB, free: 13.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/1.131, allocations: 6.221 MB / 0.7185 GB, free: 5.141 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/1.135, allocations: 3.588 MB / 0.722 GB, free: 2.066 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.538e-05/1.135, allocations: 40 kB / 0.7221 GB, free: 2.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01578/1.151, allocations: 8.875 MB / 0.7307 GB, free: 10.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.824e-05/1.151, allocations: 69 kB / 0.7308 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005338/1.156, allocations: 2.785 MB / 0.7335 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/1.159, allocations: 1.089 MB / 0.7346 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005514/1.165, allocations: 1.586 MB / 0.7361 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004571/1.169, allocations: 4.379 MB / 0.7404 GB, free: 1.629 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005749/1.175, allocations: 0.5061 MB / 0.7409 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000945/1.176, allocations: 407.9 kB / 0.7413 GB, free: 0.832 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (845): * Single equations (assignments): 836 * Array equations: 5 * 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 {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 prepare postOptimizeDAE: time 0.0009488/1.177, allocations: 0.6259 MB / 0.7419 GB, free: 208 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2374/1.415, allocations: 371.1 kB / 0.7423 GB, free: 84.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/1.421, allocations: 3.233 MB / 0.7454 GB, free: 84.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004504/1.426, allocations: 2.686 MB / 0.748 GB, free: 84.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.426, allocations: 3.469 kB / 0.748 GB, free: 84.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.426, allocations: 11.78 kB / 0.7481 GB, free: 84.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/1.442, allocations: 10.29 MB / 0.7581 GB, free: 83.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/1.442, allocations: 14.62 kB / 0.7581 GB, free: 83.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.443, allocations: 370.6 kB / 0.7585 GB, free: 83.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/1.446, allocations: 0.9721 MB / 0.7594 GB, free: 83.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/1.446, allocations: 61.41 kB / 0.7595 GB, free: 83.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/1.45, allocations: 4.609 MB / 0.764 GB, free: 80.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008033/1.451, allocations: 1.477 MB / 0.7654 GB, free: 79.33 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009165/1.46, allocations: 7.446 MB / 0.7727 GB, free: 76.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.462, allocations: 452.8 kB / 0.7731 GB, free: 76.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/1.462, allocations: 57.31 kB / 0.7732 GB, free: 76.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.464, allocations: 175 kB / 0.7734 GB, free: 76.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/1.465, allocations: 173.9 kB / 0.7735 GB, free: 76.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/1.465, allocations: 76.31 kB / 0.7736 GB, free: 76.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004578/1.47, allocations: 2.514 MB / 0.776 GB, free: 76.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.47, allocations: 8.734 kB / 0.7761 GB, free: 76.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005513/1.475, allocations: 1.161 MB / 0.7772 GB, free: 76.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (179): * Single equations (assignments): 172 * Array equations: 3 * 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.0004914/1.476, allocations: 224.1 kB / 0.7774 GB, free: 76.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00927/1.485, allocations: 5.729 MB / 0.783 GB, free: 75.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.485, allocations: 3.312 kB / 0.783 GB, free: 75.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004001/1.489, allocations: 2.155 MB / 0.7851 GB, free: 75.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/1.491, allocations: 467.6 kB / 0.7855 GB, free: 75.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/1.508, allocations: 8.882 MB / 0.7942 GB, free: 72.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004409/1.513, allocations: 3.547 MB / 0.7977 GB, free: 71.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005782/1.518, allocations: 2.034 MB / 0.7997 GB, free: 71.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/1.519, allocations: 267.5 kB / 0.7999 GB, free: 71.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.519, allocations: 4 kB / 0.7999 GB, free: 71.39 MB / 458.7 MB Notification: Performance of Templates: time 0.06002/1.579, allocations: 36.97 MB / 0.836 GB, free: 68.52 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches