Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.001601, allocations: 178.4 kB / 8.698 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.681/1.681, allocations: 205.3 MB / 214.4 MB, free: 1.664 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.001386/0.001385, allocations: 82.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.869e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08789, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.4827, allocations: 91.44 MB / 454.5 MB, free: 4.449 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.4831, allocations: 83.7 kB / 454.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1557/0.6388, allocations: 57.16 MB / 0.4998 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6388, allocations: 0 / 0.4998 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001122/0.6389, allocations: 52 kB / 0.4998 GB, free: 0.5508 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01198/0.6509, allocations: 2.951 MB / 0.5027 GB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.651, allocations: 8.031 kB / 0.5027 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.6612, allocations: 2.055 MB / 0.5047 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.6714, allocations: 3.622 MB / 0.5082 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.6716, allocations: 84 kB / 0.5083 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.6731, allocations: 155.9 kB / 0.5085 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007904/0.681, allocations: 4.077 MB / 0.5125 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.6927, allocations: 6.262 MB / 0.5186 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.6929, allocations: 39.62 kB / 0.5186 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004524/0.6934, allocations: 28 kB / 0.5186 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/0.6945, allocations: 0.715 MB / 0.5193 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2332/0.9278, allocations: 31.41 MB / 0.55 GB, free: 86.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.9302, allocations: 2.002 MB / 0.552 GB, free: 85.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.9314, allocations: 0.9763 MB / 0.5529 GB, free: 85.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.9324, allocations: 0.9765 MB / 0.5539 GB, free: 84.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.9325, allocations: 48.06 kB / 0.5539 GB, free: 84.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.787e-06/0.9325, allocations: 1.344 kB / 0.5539 GB, free: 84.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.02009/0.9526, allocations: 8.328 MB / 0.562 GB, free: 82.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.9527, allocations: 145.1 kB / 0.5622 GB, free: 82.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.9557, allocations: 2.151 MB / 0.5643 GB, free: 82.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/0.956, allocations: 25.7 kB / 0.5643 GB, free: 82.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.9572, allocations: 2.119 MB / 0.5664 GB, free: 81.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000852/0.958, allocations: 0.5151 MB / 0.5669 GB, free: 81.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.9583, allocations: 3.781 kB / 0.5669 GB, free: 81.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003206/0.9586, allocations: 0.5501 MB / 0.5674 GB, free: 80.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.9604, allocations: 1.542 MB / 0.5689 GB, free: 80.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/0.9632, allocations: 4.411 MB / 0.5732 GB, free: 77.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.9661, allocations: 2.591 MB / 0.5758 GB, free: 76.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.104e-05/0.9661, allocations: 31.31 kB / 0.5758 GB, free: 76.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=616) (initialization): time 0.01163/0.9778, allocations: 6.465 MB / 0.5821 GB, free: 74.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.719e-05/0.9779, allocations: 50.5 kB / 0.5822 GB, free: 74.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005244/0.9831, allocations: 2.475 MB / 0.5846 GB, free: 73.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00469/0.9879, allocations: 1.48 MB / 0.586 GB, free: 73.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/0.9913, allocations: 1.055 MB / 0.5871 GB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007794/0.9991, allocations: 6.898 MB / 0.5938 GB, free: 69.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/1.003, allocations: 291.1 kB / 0.5941 GB, free: 69.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.004, allocations: 296.3 kB / 0.5943 GB, free: 69.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (568): * Single equations (assignments): 560 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001482/1.006, allocations: 355.8 kB / 0.5947 GB, free: 69.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007495/1.007, allocations: 225.6 kB / 0.5949 GB, free: 69.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006155/1.013, allocations: 2.75 MB / 0.5976 GB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005312/1.018, allocations: 2.438 MB / 0.6 GB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/1.018, allocations: 3.938 kB / 0.6 GB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-05/1.018, allocations: 10.91 kB / 0.6 GB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/1.031, allocations: 6.768 MB / 0.6066 GB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.031, allocations: 4 kB / 0.6066 GB, free: 64.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/1.032, allocations: 179.4 kB / 0.6068 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/1.036, allocations: 1.405 MB / 0.6081 GB, free: 63.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/1.036, allocations: 15.5 kB / 0.6082 GB, free: 63.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007639/1.044, allocations: 7.074 MB / 0.6151 GB, free: 56.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007099/1.045, allocations: 1.388 MB / 0.6164 GB, free: 55.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007514/1.052, allocations: 4.933 MB / 0.6212 GB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/1.053, allocations: 282 kB / 0.6215 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/1.053, allocations: 15.47 kB / 0.6215 GB, free: 51.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.054, allocations: 111.9 kB / 0.6216 GB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.055, allocations: 86.66 kB / 0.6217 GB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.055, allocations: 44.72 kB / 0.6218 GB, free: 50.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001862/1.057, allocations: 1.412 MB / 0.6231 GB, free: 49.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.057, allocations: 0 / 0.6231 GB, free: 49.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004403/1.061, allocations: 0.6954 MB / 0.6238 GB, free: 48.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005301/1.062, allocations: 153.4 kB / 0.624 GB, free: 48.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007541/1.069, allocations: 4.132 MB / 0.628 GB, free: 45.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.069, allocations: 0 / 0.628 GB, free: 45.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002767/1.072, allocations: 1.686 MB / 0.6296 GB, free: 43.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/1.073, allocations: 204.8 kB / 0.6298 GB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009149/1.083, allocations: 5.504 MB / 0.6352 GB, free: 37.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/1.085, allocations: 2.352 MB / 0.6375 GB, free: 35.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003237/1.088, allocations: 1.501 MB / 0.639 GB, free: 34.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/1.088, allocations: 155.4 kB / 0.6391 GB, free: 33.9 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/1.088, allocations: 0 / 0.6391 GB, free: 33.9 MB / 410.7 MB Notification: Performance of Templates: time 0.03645/1.125, allocations: 24.36 MB / 0.6629 GB, free: 9.852 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches