Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.696/1.696, allocations: 221.5 MB / 230.3 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008532, allocations: 97.36 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.332e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09569, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/0.4161, allocations: 98.1 MB / 485.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4164, allocations: 91.94 kB / 485.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4758/0.8922, allocations: 93 MB / 0.5651 GB, free: 96.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.8923, allocations: 0 / 0.5651 GB, free: 96.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002472/0.8926, allocations: 94.28 kB / 0.5652 GB, free: 96.67 MB / 426.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.01886/0.9114, allocations: 4.695 MB / 0.5698 GB, free: 94.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.9115, allocations: 9.281 kB / 0.5698 GB, free: 94.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.9257, allocations: 2.701 MB / 0.5724 GB, free: 94.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.9392, allocations: 5.311 MB / 0.5776 GB, free: 93.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.9394, allocations: 154.2 kB / 0.5777 GB, free: 93.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.9409, allocations: 281.2 kB / 0.578 GB, free: 93.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01111/0.9521, allocations: 6.93 MB / 0.5848 GB, free: 93.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/0.9681, allocations: 10.41 MB / 0.5949 GB, free: 89.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/0.9683, allocations: 65.22 kB / 0.595 GB, free: 89.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00058/0.9689, allocations: 35.31 kB / 0.595 GB, free: 89.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.9704, allocations: 1.211 MB / 0.5962 GB, free: 89.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04444/1.015, allocations: 52.54 MB / 0.6475 GB, free: 49.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/1.018, allocations: 2.782 MB / 0.6502 GB, free: 46.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/1.019, allocations: 1.529 MB / 0.6517 GB, free: 45.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/1.02, allocations: 1.206 MB / 0.6529 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.02, allocations: 55.81 kB / 0.653 GB, free: 44.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 3.888e-06/1.02, allocations: 0 / 0.653 GB, free: 44.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=203): time 0.02206/1.042, allocations: 11.95 MB / 0.6646 GB, free: 33.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.042, allocations: 153.1 kB / 0.6648 GB, free: 33.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/1.047, allocations: 3.191 MB / 0.6679 GB, free: 30.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004242/1.047, allocations: 29.7 kB / 0.6679 GB, free: 30.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/1.049, allocations: 3.46 MB / 0.6713 GB, free: 27.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007246/1.049, allocations: 0.7786 MB / 0.6721 GB, free: 26.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/1.049, allocations: 7.938 kB / 0.6721 GB, free: 26.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002647/1.05, allocations: 0.5971 MB / 0.6727 GB, free: 26.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/1.052, allocations: 2.045 MB / 0.6747 GB, free: 24.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004636/1.057, allocations: 6.238 MB / 0.6808 GB, free: 16.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/1.061, allocations: 3.516 MB / 0.6842 GB, free: 13.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.628e-05/1.062, allocations: 40 kB / 0.6842 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01416/1.076, allocations: 8.083 MB / 0.6921 GB, free: 4.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/1.076, allocations: 68 kB / 0.6922 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004345/1.08, allocations: 2.67 MB / 0.6948 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002971/1.083, allocations: 1.076 MB / 0.6958 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005661/1.089, allocations: 1.638 MB / 0.6974 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/1.094, allocations: 4.235 MB / 0.7016 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006/1.1, allocations: 379.3 kB / 0.7019 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/1.101, allocations: 428 kB / 0.7023 GB, free: 10.2 MB / 442.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.002181/1.104, allocations: 490.1 kB / 0.7028 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009652/1.105, allocations: 347.5 kB / 0.7031 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00699/1.112, allocations: 3.025 MB / 0.7061 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004774/1.116, allocations: 2.547 MB / 0.7086 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/1.116, allocations: 4 kB / 0.7086 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.187e-05/1.116, allocations: 7.969 kB / 0.7086 GB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2715/1.388, allocations: 9.383 MB / 0.7178 GB, free: 97.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/1.388, allocations: 12.78 kB / 0.7178 GB, free: 97.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003268/1.391, allocations: 358.3 kB / 0.7181 GB, free: 97.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005164/1.397, allocations: 0.958 MB / 0.7191 GB, free: 97.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005383/1.397, allocations: 37.03 kB / 0.7191 GB, free: 97.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007721/1.405, allocations: 4.477 MB / 0.7235 GB, free: 95.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001113/1.406, allocations: 1.409 MB / 0.7248 GB, free: 94.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/1.421, allocations: 6.917 MB / 0.7316 GB, free: 91.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/1.423, allocations: 411.7 kB / 0.732 GB, free: 91.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001578/1.425, allocations: 28.02 kB / 0.732 GB, free: 91.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003784/1.429, allocations: 149.9 kB / 0.7322 GB, free: 91.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008203/1.429, allocations: 164.7 kB / 0.7323 GB, free: 91.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/1.43, allocations: 70.55 kB / 0.7324 GB, free: 91.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007559/1.437, allocations: 2.094 MB / 0.7344 GB, free: 91.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.437, allocations: 0 / 0.7344 GB, free: 91.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.011/1.448, allocations: 1.011 MB / 0.7354 GB, free: 91.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 14 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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.001095/1.45, allocations: 198.8 kB / 0.7356 GB, free: 91.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01248/1.462, allocations: 5.447 MB / 0.7409 GB, free: 91.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/1.462, allocations: 1.812 kB / 0.7409 GB, free: 91.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004147/1.466, allocations: 2.096 MB / 0.743 GB, free: 90.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.469, allocations: 372.5 kB / 0.7433 GB, free: 90.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.485, allocations: 8.718 MB / 0.7518 GB, free: 88.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003645/1.489, allocations: 3.531 MB / 0.7553 GB, free: 87.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005562/1.495, allocations: 2.091 MB / 0.7573 GB, free: 87.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/1.496, allocations: 261.3 kB / 0.7576 GB, free: 87.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/1.496, allocations: 0 / 0.7576 GB, free: 87.48 MB / 442.7 MB Notification: Performance of Templates: time 0.06036/1.556, allocations: 32.75 MB / 0.7896 GB, free: 78.91 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches