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.0009758/0.0009755, allocations: 205.6 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 245.4 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007348/0.0007348, allocations: 98.83 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002335/0.0002336, allocations: 8 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1888, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.3038, allocations: 99.52 MB / 0.497 GB, free: 7.957 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.3041, allocations: 95.94 kB / 0.4971 GB, free: 7.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3744/0.6785, allocations: 94.79 MB / 0.5896 GB, free: 21.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6785, allocations: 0 / 0.5896 GB, free: 21.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002004/0.6787, allocations: 91.98 kB / 0.5897 GB, free: 21.82 MB / 378.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.01604/0.6948, allocations: 4.985 MB / 0.5946 GB, free: 16.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6948, allocations: 8.031 kB / 0.5946 GB, free: 16.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.7059, allocations: 2.635 MB / 0.5972 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008645/0.7146, allocations: 3.968 MB / 0.601 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.715, allocations: 361.8 kB / 0.6014 GB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.7173, allocations: 480.1 kB / 0.6018 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/0.7441, allocations: 12.57 MB / 0.6141 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003312/0.7444, allocations: 63.34 kB / 0.6142 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002063/0.7465, allocations: 235.9 kB / 0.6144 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002157/0.7487, allocations: 1.21 MB / 0.6156 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0218/0.7705, allocations: 10.26 MB / 0.6256 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2757/1.046, allocations: 52.82 MB / 0.6772 GB, free: 62.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009408/1.056, allocations: 4.528 MB / 0.6816 GB, free: 61.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/1.058, allocations: 1.68 MB / 0.6833 GB, free: 61.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0097/1.068, allocations: 8.206 MB / 0.6913 GB, free: 59.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/1.068, allocations: 53.72 kB / 0.6913 GB, free: 59.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 4.849e-06/1.068, allocations: 0 / 0.6913 GB, free: 59.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=205): time 0.03273/1.1, allocations: 15.84 MB / 0.7068 GB, free: 55.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008315/1.101, allocations: 1.599 MB / 0.7083 GB, free: 54.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/1.106, allocations: 4.223 MB / 0.7125 GB, free: 53.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/1.106, allocations: 60.06 kB / 0.7125 GB, free: 53.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/1.108, allocations: 3.406 MB / 0.7159 GB, free: 51.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006212/1.108, allocations: 0.8057 MB / 0.7166 GB, free: 51.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.109, allocations: 135.9 kB / 0.7168 GB, free: 51.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002565/1.109, allocations: 0.5855 MB / 0.7173 GB, free: 51.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.112, allocations: 2.244 MB / 0.7195 GB, free: 51.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/1.116, allocations: 6.356 MB / 0.7257 GB, free: 45.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/1.123, allocations: 9.238 MB / 0.7348 GB, free: 39.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.121e-05/1.124, allocations: 41.97 kB / 0.7348 GB, free: 39.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.013/1.137, allocations: 9.098 MB / 0.7437 GB, free: 36.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/1.137, allocations: 66.59 kB / 0.7438 GB, free: 36.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004342/1.141, allocations: 2.817 MB / 0.7465 GB, free: 35.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/1.144, allocations: 1.069 MB / 0.7475 GB, free: 35.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/1.148, allocations: 1.589 MB / 0.7491 GB, free: 35.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/1.151, allocations: 4.389 MB / 0.7534 GB, free: 31.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.156, allocations: 0.494 MB / 0.7539 GB, free: 31.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006525/1.157, allocations: 415.3 kB / 0.7543 GB, free: 30.67 MB / 442.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 () * Number of clocked 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.00316/1.16, allocations: 2.206 MB / 0.7564 GB, free: 28.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/1.16, allocations: 379.1 kB / 0.7568 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005315/1.166, allocations: 3.264 MB / 0.76 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004239/1.17, allocations: 2.717 MB / 0.7626 GB, free: 23.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.17, allocations: 4 kB / 0.7626 GB, free: 23.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/1.17, allocations: 11.02 kB / 0.7626 GB, free: 23.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.186, allocations: 10.34 MB / 0.7727 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/1.186, allocations: 23.97 kB / 0.7728 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.187, allocations: 366.3 kB / 0.7731 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/1.19, allocations: 0.9796 MB / 0.7741 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/1.19, allocations: 58.94 kB / 0.7741 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003767/1.194, allocations: 4.607 MB / 0.7786 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006292/1.194, allocations: 1.474 MB / 0.7801 GB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007345/1.202, allocations: 5.882 MB / 0.7858 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.203, allocations: 445.6 kB / 0.7862 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/1.203, allocations: 59.8 kB / 0.7863 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/1.205, allocations: 177.3 kB / 0.7864 GB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.205, allocations: 180.4 kB / 0.7866 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.205, allocations: 71.7 kB / 0.7867 GB, free: 2.145 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003765/1.209, allocations: 2.615 MB / 0.7892 GB, free: 0 / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.209, allocations: 0 / 0.7892 GB, free: 0 / 442.7 MB Notification: Performance of remove unused functions: time 0.008536/1.218, allocations: 1.366 MB / 0.7906 GB, free: 15.32 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 () * Number of clocked 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.0004981/1.218, allocations: 233.3 kB / 0.7908 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.228, allocations: 5.867 MB / 0.7965 GB, free: 9.973 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.228, allocations: 4 kB / 0.7965 GB, free: 9.969 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003831/1.232, allocations: 2.171 MB / 0.7987 GB, free: 8.062 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009887/1.242, allocations: 491.8 kB / 0.7991 GB, free: 7.645 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.261, allocations: 12.56 MB / 0.8114 GB, free: 11.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004065/1.265, allocations: 3.454 MB / 0.8148 GB, free: 7.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005067/1.27, allocations: 2.022 MB / 0.8167 GB, free: 5.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006244/1.271, allocations: 271.4 kB / 0.817 GB, free: 5.395 MB / 474.7 MB Notification: Performance of SimCode: time 8.81e-07/1.271, allocations: 0 / 0.817 GB, free: 5.395 MB / 474.7 MB Notification: Performance of Templates: time 0.07344/1.344, allocations: 37.1 MB / 0.8532 GB, free: 0.9648 MB / 0.4948 GB 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/jenkins1/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