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.001001/0.001005, allocations: 178 kB / 17.4 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 241.4 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007593/0.0007596, allocations: 96.2 kB / 292.6 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003336, allocations: 15.92 kB / 352.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1989, allocations: 50.41 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.3076, allocations: 98.97 MB / 0.49 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.3079, allocations: 87.95 kB / 0.4901 GB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3634/0.6713, allocations: 93.61 MB / 0.5815 GB, free: 32.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6714, allocations: 0 / 0.5815 GB, free: 32.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.6715, allocations: 95.92 kB / 0.5816 GB, free: 32 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.01466/0.6862, allocations: 4.873 MB / 0.5863 GB, free: 27.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.6863, allocations: 12.03 kB / 0.5863 GB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.6972, allocations: 2.58 MB / 0.5889 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008465/0.7057, allocations: 4.159 MB / 0.5929 GB, free: 20.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.7061, allocations: 365.8 kB / 0.5933 GB, free: 19.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/0.7086, allocations: 476.2 kB / 0.5937 GB, free: 19.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.7302, allocations: 12.57 MB / 0.606 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.7304, allocations: 63.34 kB / 0.6061 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005726/0.731, allocations: 235.9 kB / 0.6063 GB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001341/0.7323, allocations: 1.206 MB / 0.6075 GB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/0.7533, allocations: 10.27 MB / 0.6175 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2761/1.03, allocations: 52.81 MB / 0.6691 GB, free: 52.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009728/1.039, allocations: 4.524 MB / 0.6735 GB, free: 51.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/1.041, allocations: 1.683 MB / 0.6751 GB, free: 51.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/1.052, allocations: 8.208 MB / 0.6831 GB, free: 49.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/1.052, allocations: 56.03 kB / 0.6832 GB, free: 48.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 5.189e-06/1.052, allocations: 3.25 kB / 0.6832 GB, free: 48.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=205): time 0.03601/1.088, allocations: 15.84 MB / 0.6987 GB, free: 45.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009711/1.089, allocations: 1.599 MB / 0.7002 GB, free: 44.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005636/1.095, allocations: 4.217 MB / 0.7043 GB, free: 43.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003808/1.096, allocations: 63.22 kB / 0.7044 GB, free: 43.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.097, allocations: 3.406 MB / 0.7077 GB, free: 41.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007767/1.098, allocations: 0.8047 MB / 0.7085 GB, free: 41.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/1.098, allocations: 136.8 kB / 0.7086 GB, free: 41.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002982/1.098, allocations: 0.5908 MB / 0.7092 GB, free: 41.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003141/1.102, allocations: 2.24 MB / 0.7114 GB, free: 41.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/1.106, allocations: 6.35 MB / 0.7176 GB, free: 35.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008478/1.115, allocations: 9.239 MB / 0.7266 GB, free: 28.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/1.115, allocations: 40.12 kB / 0.7267 GB, free: 28.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.0167/1.132, allocations: 9.109 MB / 0.7356 GB, free: 25.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/1.132, allocations: 66.78 kB / 0.7356 GB, free: 25.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005855/1.138, allocations: 2.814 MB / 0.7384 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/1.141, allocations: 1.069 MB / 0.7394 GB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00498/1.146, allocations: 1.59 MB / 0.741 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/1.15, allocations: 4.381 MB / 0.7452 GB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005536/1.155, allocations: 0.5004 MB / 0.7457 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.156, allocations: 415.2 kB / 0.7461 GB, free: 17.11 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 () * 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.004628/1.161, allocations: 2.216 MB / 0.7483 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007577/1.162, allocations: 375.1 kB / 0.7486 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005844/1.168, allocations: 3.26 MB / 0.7518 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004391/1.172, allocations: 2.71 MB / 0.7545 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.172, allocations: 3.938 kB / 0.7545 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/1.172, allocations: 14.77 kB / 0.7545 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.192, allocations: 10.34 MB / 0.7646 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/1.192, allocations: 19.41 kB / 0.7646 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.193, allocations: 369.8 kB / 0.765 GB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/1.196, allocations: 0.9742 MB / 0.7659 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/1.196, allocations: 62.33 kB / 0.766 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004817/1.201, allocations: 4.613 MB / 0.7705 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001029/1.202, allocations: 1.479 MB / 0.7719 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009038/1.211, allocations: 5.886 MB / 0.7777 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.212, allocations: 447 kB / 0.7781 GB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006361/1.213, allocations: 58.72 kB / 0.7782 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/1.215, allocations: 179.4 kB / 0.7783 GB, free: 4.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/1.215, allocations: 178.6 kB / 0.7785 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.215, allocations: 71.61 kB / 0.7786 GB, free: 4.582 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004786/1.22, allocations: 2.622 MB / 0.7811 GB, free: 2.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.22, allocations: 0 / 0.7811 GB, free: 2.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005996/1.226, allocations: 1.146 MB / 0.7822 GB, free: 1.293 MB / 442.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.0005358/1.227, allocations: 233.1 kB / 0.7825 GB, free: 1.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009847/1.237, allocations: 5.871 MB / 0.7882 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/1.237, allocations: 4 kB / 0.7882 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00382/1.241, allocations: 2.187 MB / 0.7903 GB, free: 9.832 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/1.251, allocations: 486.7 kB / 0.7908 GB, free: 9.359 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.276, allocations: 12.55 MB / 0.8031 GB, free: 12.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006028/1.282, allocations: 3.452 MB / 0.8064 GB, free: 9.199 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006003/1.288, allocations: 2.025 MB / 0.8084 GB, free: 7.176 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009504/1.289, allocations: 263.4 kB / 0.8087 GB, free: 6.918 MB / 474.7 MB Notification: Performance of SimCode: time 6.71e-07/1.289, allocations: 3.938 kB / 0.8087 GB, free: 6.914 MB / 474.7 MB Notification: Performance of Templates: time 0.07045/1.359, allocations: 37.1 MB / 0.8449 GB, free: 2.516 MB / 0.4948 GB 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/jenkins1/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