Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 200 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007631/0.000763, allocations: 99.7 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002144/0.0002145, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2434, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.3772, allocations: 100.2 MB / 0.4969 GB, free: 7.418 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/0.3776, allocations: 91.95 kB / 0.497 GB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4251/0.8027, allocations: 117.3 MB / 0.6115 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.8028, allocations: 0 / 0.6115 GB, free: 15.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002956/0.8031, allocations: 116 kB / 0.6116 GB, free: 15.1 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01883/0.8219, allocations: 6.127 MB / 0.6176 GB, free: 8.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.822, allocations: 12.03 kB / 0.6176 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.8341, allocations: 2.645 MB / 0.6202 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.8453, allocations: 5.578 MB / 0.6257 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003942/0.8458, allocations: 427.7 kB / 0.6261 GB, free: 176 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002305/0.8481, allocations: 0.5627 MB / 0.6266 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03103/0.8791, allocations: 14.88 MB / 0.6411 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/0.8795, allocations: 75.44 kB / 0.6412 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/0.8809, allocations: 279.8 kB / 0.6415 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.883, allocations: 1.435 MB / 0.6429 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02721/0.9102, allocations: 12.97 MB / 0.6555 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2982/1.208, allocations: 65.59 MB / 0.7196 GB, free: 39.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.226, allocations: 7.208 MB / 0.7266 GB, free: 38.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00531/1.231, allocations: 4.885 MB / 0.7314 GB, free: 38.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01691/1.248, allocations: 14.18 MB / 0.7452 GB, free: 35.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/1.248, allocations: 69.53 kB / 0.7453 GB, free: 35.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=279): time 4.929e-06/1.248, allocations: 3.75 kB / 0.7453 GB, free: 35.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1424/1.39, allocations: 48.39 MB / 0.7926 GB, free: 16.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/1.391, allocations: 168.4 kB / 0.7927 GB, free: 16.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00647/1.397, allocations: 4.775 MB / 0.7974 GB, free: 12.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.398, allocations: 81.7 kB / 0.7975 GB, free: 12.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002056/1.4, allocations: 3.753 MB / 0.8011 GB, free: 9.562 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001805/1.402, allocations: 1.337 MB / 0.8025 GB, free: 8.371 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/1.403, allocations: 157.2 kB / 0.8026 GB, free: 8.219 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004045/1.403, allocations: 0.6323 MB / 0.8032 GB, free: 7.676 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006334/1.409, allocations: 4.455 MB / 0.8076 GB, free: 3.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/1.421, allocations: 8.503 MB / 0.8159 GB, free: 10.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01824/1.439, allocations: 13.95 MB / 0.8295 GB, free: 11.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/1.439, allocations: 40 kB / 0.8295 GB, free: 11.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.2815/1.72, allocations: 18.69 MB / 0.8478 GB, free: 99.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.721, allocations: 67.53 kB / 0.8479 GB, free: 99.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002447/1.721, allocations: 141.3 kB / 0.848 GB, free: 99.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0208/1.742, allocations: 6.64 MB / 0.8545 GB, free: 99.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/1.754, allocations: 1.718 MB / 0.8561 GB, free: 99.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09302/1.847, allocations: 35.41 MB / 0.8907 GB, free: 94.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/1.859, allocations: 0.5704 MB / 0.8913 GB, free: 94.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002569/1.862, allocations: 484 kB / 0.8917 GB, free: 94.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (860): * Single equations (assignments): 852 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,67.9%) 100,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01009/1.872, allocations: 2.856 MB / 0.8945 GB, free: 93.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002245/1.874, allocations: 475.3 kB / 0.895 GB, free: 93.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05273/1.927, allocations: 13.65 MB / 0.9083 GB, free: 88.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-05/1.927, allocations: 35.59 kB / 0.9084 GB, free: 88.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001293/1.927, allocations: 28.97 kB / 0.9084 GB, free: 88.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.927, allocations: 18.8 kB / 0.9084 GB, free: 88.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0914/2.019, allocations: 25.72 MB / 0.9335 GB, free: 76.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.387e-05/2.019, allocations: 4 kB / 0.9335 GB, free: 76.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002722/2.022, allocations: 0.5146 MB / 0.934 GB, free: 76.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0181/2.04, allocations: 6.284 MB / 0.9402 GB, free: 71.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001464/2.041, allocations: 71.8 kB / 0.9402 GB, free: 71.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04696/2.088, allocations: 32.67 MB / 0.9721 GB, free: 40.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.088, allocations: 10.47 kB / 0.9721 GB, free: 40.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03564/2.124, allocations: 19.66 MB / 0.9913 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/2.126, allocations: 0.554 MB / 0.9919 GB, free: 19.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/2.128, allocations: 61.5 kB / 0.9919 GB, free: 19.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004285/2.132, allocations: 347.5 kB / 0.9923 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/2.134, allocations: 266 kB / 0.9925 GB, free: 19.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009335/2.135, allocations: 95.42 kB / 0.9926 GB, free: 19.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006964/2.142, allocations: 3.061 MB / 0.9956 GB, free: 16.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.142, allocations: 0 / 0.9956 GB, free: 16.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0114/2.153, allocations: 1.84 MB / 0.9974 GB, free: 14.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * 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 (223): * Single equations (assignments): 215 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,70.3%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/2.155, allocations: 214.1 kB / 0.9976 GB, free: 14.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0205/2.175, allocations: 11.81 MB / 1.009 GB, free: 2.207 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/2.175, allocations: 4 kB / 1.009 GB, free: 2.203 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2613/2.437, allocations: 5.651 MB / 1.015 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009355/2.446, allocations: 0.6142 MB / 1.015 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/2.485, allocations: 19.14 MB / 1.034 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007747/2.493, allocations: 4.387 MB / 1.038 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/2.495, allocations: 400.2 kB / 1.039 GB, free: 109.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/2.495, allocations: 0 / 1.039 GB, free: 109.2 MB / 490.7 MB Notification: Performance of Templates: time 0.4589/2.954, allocations: 224.1 MB / 1.257 GB, free: 96.31 MB / 490.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches