Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009758/0.0009757, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.3 MB / 214.4 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 90.69 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.447e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09594, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4836, allocations: 96.76 MB / 459.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.4839, allocations: 85.62 kB / 459.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4892/0.9732, allocations: 91.92 MB / 0.5389 GB, free: 90.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.9733, allocations: 1.125 kB / 0.5389 GB, free: 90.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002444/0.9735, allocations: 87.84 kB / 0.539 GB, free: 90.43 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.02085/0.9944, allocations: 4.72 MB / 0.5436 GB, free: 88.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.9944, allocations: 12.78 kB / 0.5436 GB, free: 88.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/1.009, allocations: 2.696 MB / 0.5463 GB, free: 88.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/1.025, allocations: 5.594 MB / 0.5517 GB, free: 87.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/1.025, allocations: 151.1 kB / 0.5519 GB, free: 87.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/1.028, allocations: 289.3 kB / 0.5521 GB, free: 87.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01221/1.04, allocations: 6.921 MB / 0.5589 GB, free: 87.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/1.058, allocations: 10.39 MB / 0.569 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/1.059, allocations: 68.08 kB / 0.5691 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007601/1.059, allocations: 34.84 kB / 0.5691 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/1.061, allocations: 1.202 MB / 0.5703 GB, free: 84.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05354/1.115, allocations: 52.61 MB / 0.6217 GB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/1.118, allocations: 2.776 MB / 0.6244 GB, free: 44.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/1.12, allocations: 1.52 MB / 0.6259 GB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008541/1.121, allocations: 1.219 MB / 0.6271 GB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.121, allocations: 59.34 kB / 0.6271 GB, free: 43.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=187): time 6.252e-06/1.121, allocations: 0 / 0.6271 GB, free: 43.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.02498/1.146, allocations: 12.05 MB / 0.6389 GB, free: 34.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.146, allocations: 149 kB / 0.639 GB, free: 34.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/1.15, allocations: 3.226 MB / 0.6422 GB, free: 31.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/1.15, allocations: 29.7 kB / 0.6422 GB, free: 31.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/1.152, allocations: 3.468 MB / 0.6456 GB, free: 28.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007456/1.152, allocations: 0.782 MB / 0.6464 GB, free: 27.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/1.153, allocations: 0 / 0.6464 GB, free: 27.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002787/1.153, allocations: 0.6019 MB / 0.647 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.155, allocations: 2.042 MB / 0.649 GB, free: 24.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003865/1.159, allocations: 6.248 MB / 0.6551 GB, free: 16.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/1.163, allocations: 3.504 MB / 0.6585 GB, free: 13.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-05/1.163, allocations: 43.94 kB / 0.6585 GB, free: 13.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01256/1.176, allocations: 8.074 MB / 0.6664 GB, free: 7.004 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.19e-05/1.176, allocations: 72 kB / 0.6665 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004262/1.18, allocations: 2.666 MB / 0.6691 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002941/1.183, allocations: 1.075 MB / 0.6701 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005208/1.188, allocations: 1.633 MB / 0.6717 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/1.193, allocations: 4.29 MB / 0.6759 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007038/1.2, allocations: 383.5 kB / 0.6763 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.202, allocations: 431.2 kB / 0.6767 GB, free: 13.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * 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 (870): * Single equations (assignments): 861 * 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.001386/1.203, allocations: 497.6 kB / 0.6772 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.204, allocations: 347.5 kB / 0.6775 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006101/1.21, allocations: 3.018 MB / 0.6804 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0046/1.215, allocations: 2.539 MB / 0.6829 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.215, allocations: 3.953 kB / 0.6829 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/1.215, allocations: 11.97 kB / 0.6829 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2983/1.513, allocations: 9.372 MB / 0.6921 GB, free: 92.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.554e-05/1.514, allocations: 11.38 kB / 0.6921 GB, free: 92.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.515, allocations: 368.2 kB / 0.6925 GB, free: 92.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/1.519, allocations: 0.9583 MB / 0.6934 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004912/1.519, allocations: 32.31 kB / 0.6934 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/1.525, allocations: 4.48 MB / 0.6978 GB, free: 89.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008624/1.526, allocations: 1.404 MB / 0.6992 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009762/1.536, allocations: 6.931 MB / 0.7059 GB, free: 86.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.538, allocations: 0.6265 MB / 0.7065 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005197/1.538, allocations: 31.11 kB / 0.7066 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/1.54, allocations: 146.4 kB / 0.7067 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/1.54, allocations: 167.8 kB / 0.7069 GB, free: 85.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/1.541, allocations: 71.22 kB / 0.7069 GB, free: 85.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003821/1.544, allocations: 2.116 MB / 0.709 GB, free: 85.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.544, allocations: 1.344 kB / 0.709 GB, free: 85.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007688/1.552, allocations: 1.011 MB / 0.71 GB, free: 85.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (177): * Single equations (assignments): 170 * 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.0008899/1.553, allocations: 188.1 kB / 0.7102 GB, free: 85.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/1.563, allocations: 5.45 MB / 0.7155 GB, free: 85.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.563, allocations: 0 / 0.7155 GB, free: 85.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003631/1.567, allocations: 2.098 MB / 0.7175 GB, free: 84.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/1.57, allocations: 373.3 kB / 0.7179 GB, free: 84.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.587, allocations: 8.741 MB / 0.7264 GB, free: 82.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/1.59, allocations: 3.544 MB / 0.7299 GB, free: 81.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005675/1.596, allocations: 2.102 MB / 0.732 GB, free: 81.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/1.597, allocations: 250.8 kB / 0.7322 GB, free: 81.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.864e-06/1.597, allocations: 3.531 kB / 0.7322 GB, free: 81.82 MB / 426.7 MB Notification: Performance of Templates: time 0.06424/1.661, allocations: 32.78 MB / 0.7642 GB, free: 76.13 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches