Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002307/0.002307, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 86.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.261e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09378, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5199, allocations: 97.18 MB / 466.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.5203, allocations: 89.05 kB / 466.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6687/1.189, allocations: 93.96 MB / 0.5472 GB, free: 91.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.103e-06/1.189, allocations: 4.5 kB / 0.5472 GB, free: 91.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003002/1.189, allocations: 93.53 kB / 0.5473 GB, free: 91.24 MB / 410.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.02526/1.215, allocations: 4.718 MB / 0.5519 GB, free: 89.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.215, allocations: 7.594 kB / 0.5519 GB, free: 89.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/1.236, allocations: 2.694 MB / 0.5545 GB, free: 89.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02046/1.257, allocations: 5.597 MB / 0.56 GB, free: 88.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004449/1.257, allocations: 362.4 kB / 0.5603 GB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002541/1.26, allocations: 485.3 kB / 0.5608 GB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03856/1.298, allocations: 12.52 MB / 0.573 GB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002972/1.299, allocations: 64.06 kB / 0.5731 GB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002212/1.301, allocations: 228.4 kB / 0.5733 GB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003093/1.304, allocations: 1.208 MB / 0.5745 GB, free: 85.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03376/1.338, allocations: 10.14 MB / 0.5844 GB, free: 83.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07458/1.412, allocations: 52.93 MB / 0.6361 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/1.431, allocations: 4.512 MB / 0.6405 GB, free: 34.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00377/1.435, allocations: 1.658 MB / 0.6421 GB, free: 32.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0192/1.454, allocations: 8.302 MB / 0.6502 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/1.454, allocations: 51.83 kB / 0.6503 GB, free: 25.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 6.031e-06/1.454, allocations: 0 / 0.6503 GB, free: 25.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.0587/1.513, allocations: 13.77 MB / 0.6637 GB, free: 11.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001326/1.514, allocations: 1.593 MB / 0.6653 GB, free: 9.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008457/1.523, allocations: 3.691 MB / 0.6689 GB, free: 5.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004929/1.523, allocations: 57.45 kB / 0.6689 GB, free: 5.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002666/1.526, allocations: 3.346 MB / 0.6722 GB, free: 2.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.527, allocations: 0.7983 MB / 0.673 GB, free: 1.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008071/1.528, allocations: 136 kB / 0.6731 GB, free: 1.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005583/1.528, allocations: 0.592 MB / 0.6737 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006199/1.535, allocations: 2.137 MB / 0.6758 GB, free: 14.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/1.545, allocations: 6.227 MB / 0.6818 GB, free: 6.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009405/1.554, allocations: 3.592 MB / 0.6854 GB, free: 2.762 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/1.555, allocations: 40 kB / 0.6854 GB, free: 2.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.3216/1.876, allocations: 8.747 MB / 0.6939 GB, free: 91.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/1.876, allocations: 69.47 kB / 0.694 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0102/1.887, allocations: 2.787 MB / 0.6967 GB, free: 91.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006615/1.893, allocations: 1.088 MB / 0.6978 GB, free: 91.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/1.904, allocations: 1.593 MB / 0.6993 GB, free: 91.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/1.911, allocations: 4.369 MB / 0.7036 GB, free: 89.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009163/1.921, allocations: 0.4987 MB / 0.7041 GB, free: 89.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.922, allocations: 417.6 kB / 0.7045 GB, free: 89.05 MB / 426.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.002433/1.925, allocations: 0.6238 MB / 0.7051 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000956/1.926, allocations: 374.3 kB / 0.7055 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.937, allocations: 3.238 MB / 0.7086 GB, free: 88.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008841/1.945, allocations: 2.684 MB / 0.7112 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.338e-05/1.946, allocations: 3.938 kB / 0.7112 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.176e-05/1.946, allocations: 10.41 kB / 0.7113 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03032/1.976, allocations: 10.31 MB / 0.7213 GB, free: 87.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-05/1.976, allocations: 16.31 kB / 0.7213 GB, free: 87.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003031/1.979, allocations: 373.4 kB / 0.7217 GB, free: 87.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/1.984, allocations: 0.9754 MB / 0.7226 GB, free: 87.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004957/1.985, allocations: 65.23 kB / 0.7227 GB, free: 87.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007314/1.992, allocations: 4.605 MB / 0.7272 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001147/1.994, allocations: 1.47 MB / 0.7286 GB, free: 83.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/2.008, allocations: 7.465 MB / 0.7359 GB, free: 78.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002671/2.011, allocations: 0.6627 MB / 0.7366 GB, free: 78.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/2.012, allocations: 57.91 kB / 0.7366 GB, free: 78.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004203/2.017, allocations: 178.4 kB / 0.7368 GB, free: 78.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000755/2.018, allocations: 175.5 kB / 0.737 GB, free: 78.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/2.018, allocations: 75.86 kB / 0.737 GB, free: 78.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006741/2.025, allocations: 2.537 MB / 0.7395 GB, free: 77.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.025, allocations: 3.938 kB / 0.7395 GB, free: 77.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008472/2.033, allocations: 1.151 MB / 0.7406 GB, free: 77.09 MB / 426.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.001021/2.034, allocations: 220.7 kB / 0.7409 GB, free: 76.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01502/2.049, allocations: 5.741 MB / 0.7465 GB, free: 74.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.851e-05/2.049, allocations: 0 / 0.7465 GB, free: 74.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006762/2.056, allocations: 2.161 MB / 0.7486 GB, free: 73.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/2.06, allocations: 463.6 kB / 0.749 GB, free: 73.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/2.086, allocations: 9.404 MB / 0.7582 GB, free: 69.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007748/2.094, allocations: 3.564 MB / 0.7617 GB, free: 68.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/2.096, allocations: 321.3 kB / 0.762 GB, free: 67.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/2.096, allocations: 0 / 0.762 GB, free: 67.77 MB / 426.7 MB Notification: Performance of Templates: time 0.5246/2.621, allocations: 133.3 MB / 0.8922 GB, free: 95.91 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches