Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.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_3.2.3_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002316/0.002316, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 87.97 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.583e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3351, allocations: 47.57 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.4991, allocations: 97.27 MB / 459.6 MB, free: 4.996 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.4995, allocations: 89.59 kB / 459.7 MB, free: 4.91 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7591/1.259, allocations: 112.9 MB / 0.5592 GB, free: 83.43 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.034e-06/1.259, allocations: 0 / 0.5592 GB, free: 83.43 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004011/1.259, allocations: 116 kB / 0.5593 GB, free: 83.32 MB / 395.1 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.02552/1.285, allocations: 5.972 MB / 0.5652 GB, free: 77.29 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.285, allocations: 8.031 kB / 0.5652 GB, free: 77.29 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02123/1.306, allocations: 2.738 MB / 0.5679 GB, free: 74.54 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02445/1.33, allocations: 7.553 MB / 0.5752 GB, free: 66.99 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/1.331, allocations: 180 kB / 0.5754 GB, free: 66.82 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003081/1.334, allocations: 339.9 kB / 0.5757 GB, free: 66.48 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02318/1.357, allocations: 9.514 MB / 0.585 GB, free: 56.97 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03351/1.391, allocations: 13.08 MB / 0.5978 GB, free: 42.81 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004378/1.391, allocations: 75.31 kB / 0.5979 GB, free: 42.73 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002731/1.394, allocations: 32 kB / 0.5979 GB, free: 42.7 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003422/1.397, allocations: 1.434 MB / 0.5993 GB, free: 41.27 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4504/1.848, allocations: 63.69 MB / 0.6615 GB, free: 59.04 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/1.861, allocations: 6.208 MB / 0.6675 GB, free: 58.38 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009764/1.871, allocations: 4.74 MB / 0.6722 GB, free: 58.34 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002148/1.873, allocations: 1.282 MB / 0.6734 GB, free: 57.21 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.604e-05/1.874, allocations: 68.66 kB / 0.6735 GB, free: 57.17 MB / 411.1 MB Notification: Performance of pre-optimization done (n=287): time 7.264e-06/1.874, allocations: 0 / 0.6735 GB, free: 57.17 MB / 411.1 MB Notification: Performance of matching and sorting (n=378): time 0.1507/2.024, allocations: 37.09 MB / 0.7097 GB, free: 50.14 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/2.024, allocations: 171.4 kB / 0.7099 GB, free: 49.97 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008638/2.033, allocations: 3.633 MB / 0.7134 GB, free: 48.16 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001253/2.034, allocations: 25.7 kB / 0.7134 GB, free: 48.13 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003002/2.037, allocations: 3.712 MB / 0.7171 GB, free: 44.75 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002475/2.04, allocations: 1.329 MB / 0.7184 GB, free: 43.55 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/2.042, allocations: 0 / 0.7184 GB, free: 43.55 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0007512/2.042, allocations: 0.6469 MB / 0.719 GB, free: 42.99 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/2.053, allocations: 4.291 MB / 0.7232 GB, free: 39.13 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/2.066, allocations: 8.426 MB / 0.7314 GB, free: 29.42 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/2.079, allocations: 5.987 MB / 0.7373 GB, free: 24.55 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001519/2.08, allocations: 44 kB / 0.7373 GB, free: 24.51 MB / 411.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.06347/2.143, allocations: 17.63 MB / 0.7545 GB, free: 10.62 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/2.143, allocations: 68 kB / 0.7546 GB, free: 10.56 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/2.144, allocations: 144 kB / 0.7547 GB, free: 10.42 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03239/2.176, allocations: 6.461 MB / 0.761 GB, free: 5.867 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01137/2.187, allocations: 1.769 MB / 0.7628 GB, free: 4.371 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09301/2.28, allocations: 33.75 MB / 0.7957 GB, free: 2.898 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/2.291, allocations: 427.2 kB / 0.7961 GB, free: 2.48 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002709/2.294, allocations: 492 kB / 0.7966 GB, free: 2 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (890): * Single equations (assignments): 882 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004142/2.298, allocations: 495.6 kB / 0.7971 GB, free: 1.512 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002197/2.301, allocations: 438.4 kB / 0.7975 GB, free: 1.078 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05742/2.358, allocations: 13.32 MB / 0.8105 GB, free: 3.684 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/2.358, allocations: 45.5 kB / 0.8105 GB, free: 3.641 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.169e-05/2.358, allocations: 25.31 kB / 0.8106 GB, free: 3.617 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.474e-05/2.358, allocations: 21.69 kB / 0.8106 GB, free: 3.598 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4043/2.763, allocations: 24.77 MB / 0.8348 GB, free: 136.2 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.882e-05/2.763, allocations: 3.938 kB / 0.8348 GB, free: 136.2 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004954/2.768, allocations: 0.5205 MB / 0.8353 GB, free: 136.2 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0339/2.802, allocations: 6.249 MB / 0.8414 GB, free: 136.1 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001316/2.803, allocations: 16.34 kB / 0.8414 GB, free: 136.1 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07697/2.88, allocations: 30.6 MB / 0.8713 GB, free: 130.7 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/2.88, allocations: 7.281 kB / 0.8713 GB, free: 130.7 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06072/2.941, allocations: 19.67 MB / 0.8905 GB, free: 123.3 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005396/2.946, allocations: 1.277 MB / 0.8917 GB, free: 122.8 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/2.949, allocations: 15.02 kB / 0.8918 GB, free: 122.8 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006743/2.955, allocations: 288.1 kB / 0.892 GB, free: 122.8 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002196/2.958, allocations: 270.7 kB / 0.8923 GB, free: 122.8 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001136/2.959, allocations: 97 kB / 0.8924 GB, free: 122.8 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.006558/2.965, allocations: 2.459 MB / 0.8948 GB, free: 121.9 MB / 475.1 MB Notification: Performance of sort global known variables: time 9.02e-07/2.965, allocations: 0 / 0.8948 GB, free: 121.9 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.01297/2.978, allocations: 1.604 MB / 0.8963 GB, free: 121.9 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 223 * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/2.98, allocations: 171.5 kB / 0.8965 GB, free: 121.8 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.02793/3.008, allocations: 11.24 MB / 0.9075 GB, free: 113.2 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/3.008, allocations: 0 / 0.9075 GB, free: 113.2 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01518/3.023, allocations: 5.476 MB / 0.9128 GB, free: 108.2 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005521/3.029, allocations: 437.5 kB / 0.9133 GB, free: 107.8 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0556/3.085, allocations: 14.56 MB / 0.9275 GB, free: 95.45 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01178/3.096, allocations: 4.515 MB / 0.9319 GB, free: 92.07 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002686/3.099, allocations: 390.5 kB / 0.9323 GB, free: 91.74 MB / 475.1 MB Notification: Performance of SimCode: time 1.774e-06/3.099, allocations: 0 / 0.9323 GB, free: 91.74 MB / 475.1 MB Notification: Performance of Templates: time 0.7549/3.854, allocations: 208.5 MB / 1.136 GB, free: 34.79 MB / 475.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches