Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001155/0.001155, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008772/0.0008773, allocations: 101.4 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002558, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2436, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.3601, allocations: 98.02 MB / 473.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.3604, allocations: 91.95 kB / 473.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4931/0.8535, allocations: 115.2 MB / 0.5753 GB, free: 41.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8536, allocations: 0 / 0.5753 GB, free: 41.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004799/0.8541, allocations: 116 kB / 0.5755 GB, free: 41.02 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.0249/0.879, allocations: 6.361 MB / 0.5817 GB, free: 34.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.8791, allocations: 8.031 kB / 0.5817 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.8927, allocations: 2.734 MB / 0.5843 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0191/0.9119, allocations: 7.577 MB / 0.5917 GB, free: 24.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.9123, allocations: 435.3 kB / 0.5922 GB, free: 23.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003795/0.9162, allocations: 0.5699 MB / 0.5927 GB, free: 23.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03694/0.9531, allocations: 15.07 MB / 0.6074 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005092/0.9537, allocations: 75.31 kB / 0.6075 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002924/0.9566, allocations: 271.9 kB / 0.6078 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002212/0.9589, allocations: 1.431 MB / 0.6092 GB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02746/0.9863, allocations: 13.22 MB / 0.6221 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3368/1.323, allocations: 65.75 MB / 0.6863 GB, free: 34.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/1.342, allocations: 7.401 MB / 0.6935 GB, free: 33.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02466/1.366, allocations: 13.99 MB / 0.7072 GB, free: 31.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/1.366, allocations: 67.16 kB / 0.7072 GB, free: 31.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=282): time 6.853e-06/1.366, allocations: 0 / 0.7072 GB, free: 31.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=373): time 0.1694/1.536, allocations: 50.74 MB / 0.7568 GB, free: 16.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.536, allocations: 191.1 kB / 0.757 GB, free: 16.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009328/1.545, allocations: 4.296 MB / 0.7611 GB, free: 12.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001612/1.547, allocations: 81.7 kB / 0.7612 GB, free: 12.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.55, allocations: 3.753 MB / 0.7649 GB, free: 9.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002629/1.553, allocations: 1.358 MB / 0.7662 GB, free: 8.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006764/1.553, allocations: 156 kB / 0.7664 GB, free: 7.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004253/1.554, allocations: 0.6373 MB / 0.767 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006315/1.56, allocations: 4.444 MB / 0.7713 GB, free: 3.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/1.571, allocations: 8.584 MB / 0.7797 GB, free: 10.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.581, allocations: 6.076 MB / 0.7856 GB, free: 4.797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.336e-05/1.581, allocations: 40 kB / 0.7857 GB, free: 4.758 MB / 426.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.04697/1.628, allocations: 18.67 MB / 0.8039 GB, free: 2.332 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/1.628, allocations: 67.95 kB / 0.804 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/1.628, allocations: 140 kB / 0.8041 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2682/1.897, allocations: 6.668 MB / 0.8106 GB, free: 95.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006489/1.903, allocations: 1.714 MB / 0.8123 GB, free: 95.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05306/1.956, allocations: 36.87 MB / 0.8483 GB, free: 89.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008221/1.965, allocations: 0.5723 MB / 0.8489 GB, free: 89.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/1.967, allocations: 475 kB / 0.8493 GB, free: 89.56 MB / 442.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.006529/1.973, allocations: 2.869 MB / 0.8521 GB, free: 88.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.975, allocations: 476.3 kB / 0.8526 GB, free: 88.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02719/2.002, allocations: 13.65 MB / 0.8659 GB, free: 83.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-05/2.002, allocations: 43.78 kB / 0.8659 GB, free: 83.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.277e-05/2.002, allocations: 26.69 kB / 0.866 GB, free: 83.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.307e-05/2.002, allocations: 21.17 kB / 0.866 GB, free: 83.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04893/2.051, allocations: 25.86 MB / 0.8912 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.923e-05/2.051, allocations: 4 kB / 0.8913 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/2.054, allocations: 0.521 MB / 0.8918 GB, free: 70.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01808/2.072, allocations: 6.287 MB / 0.8979 GB, free: 66.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001385/2.073, allocations: 67.66 kB / 0.898 GB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05744/2.131, allocations: 34.12 MB / 0.9313 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/2.131, allocations: 4 kB / 0.9313 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05287/2.184, allocations: 20.21 MB / 0.951 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006067/2.19, allocations: 1.331 MB / 0.9523 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002681/2.193, allocations: 64 kB / 0.9524 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006574/2.199, allocations: 347.5 kB / 0.9527 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002418/2.202, allocations: 270 kB / 0.953 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001305/2.203, allocations: 95.98 kB / 0.9531 GB, free: 12.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009657/2.213, allocations: 3.09 MB / 0.9561 GB, free: 8.984 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.182e-06/2.213, allocations: 0 / 0.9561 GB, free: 8.984 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01532/2.228, allocations: 1.838 MB / 0.9579 GB, free: 7.156 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (226): * Single equations (assignments): 218 * 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.001529/2.23, allocations: 218.2 kB / 0.9581 GB, free: 6.973 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3299/2.56, allocations: 11.82 MB / 0.9696 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/2.56, allocations: 0 / 0.9696 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009977/2.57, allocations: 5.682 MB / 0.9752 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/2.574, allocations: 0.5587 MB / 0.9757 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03713/2.611, allocations: 18.49 MB / 0.9938 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007261/2.619, allocations: 4.519 MB / 0.9982 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007808/2.626, allocations: 2.396 MB / 1.001 GB, free: 102 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/2.628, allocations: 338.2 kB / 1.001 GB, free: 102 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/2.628, allocations: 2.062 kB / 1.001 GB, free: 102 MB / 458.7 MB Notification: Performance of Templates: time 0.1417/2.77, allocations: 88.94 MB / 1.088 GB, free: 49.67 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches