Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 201.6 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 227.2 MB / 245 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000863/0.0008632, allocations: 99.67 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002025/0.0002029, allocations: 8 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.195, allocations: 51.47 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3057, allocations: 100.1 MB / 0.4976 GB, free: 6.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.306, allocations: 87.95 kB / 0.4977 GB, free: 6.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4114/0.7174, allocations: 121.5 MB / 0.6163 GB, free: 9.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7174, allocations: 0 / 0.6163 GB, free: 9.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004226/0.7179, allocations: 120 kB / 0.6164 GB, free: 9.176 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.02117/0.7391, allocations: 6.389 MB / 0.6226 GB, free: 2.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7391, allocations: 16.03 kB / 0.6226 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.7516, allocations: 2.742 MB / 0.6253 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/0.7707, allocations: 6.351 MB / 0.6315 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005565/0.7713, allocations: 431.3 kB / 0.6319 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003593/0.7749, allocations: 0.5738 MB / 0.6325 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03454/0.8095, allocations: 15.07 MB / 0.6472 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004386/0.81, allocations: 75.39 kB / 0.6473 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002401/0.8124, allocations: 271.8 kB / 0.6475 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002661/0.8151, allocations: 1.431 MB / 0.6489 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0305/0.8456, allocations: 13.22 MB / 0.6618 GB, free: 9.363 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2713/1.117, allocations: 65.69 MB / 0.726 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/1.133, allocations: 7.384 MB / 0.7332 GB, free: 41.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01825/1.151, allocations: 13.97 MB / 0.7468 GB, free: 37.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.151, allocations: 67.91 kB / 0.7469 GB, free: 37.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 5.119e-06/1.151, allocations: 0 / 0.7469 GB, free: 37.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=373): time 0.1375/1.288, allocations: 50.55 MB / 0.7963 GB, free: 15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.289, allocations: 206.1 kB / 0.7965 GB, free: 14.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005959/1.294, allocations: 4.247 MB / 0.8006 GB, free: 11.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001171/1.296, allocations: 81.7 kB / 0.8007 GB, free: 11.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/1.298, allocations: 3.739 MB / 0.8043 GB, free: 7.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/1.299, allocations: 1.347 MB / 0.8057 GB, free: 6.785 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004547/1.3, allocations: 158 kB / 0.8058 GB, free: 6.633 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002937/1.3, allocations: 0.636 MB / 0.8064 GB, free: 6.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004978/1.305, allocations: 4.445 MB / 0.8108 GB, free: 2.281 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/1.317, allocations: 8.809 MB / 0.8194 GB, free: 9.227 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009237/1.326, allocations: 6.075 MB / 0.8253 GB, free: 3.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-05/1.326, allocations: 43.95 kB / 0.8254 GB, free: 3.207 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.03688/1.363, allocations: 18.68 MB / 0.8436 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/1.363, allocations: 64.94 kB / 0.8437 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.363, allocations: 140 kB / 0.8438 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.209/1.572, allocations: 6.66 MB / 0.8503 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/1.578, allocations: 1.722 MB / 0.852 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04121/1.619, allocations: 36.86 MB / 0.888 GB, free: 96.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/1.625, allocations: 0.5739 MB / 0.8885 GB, free: 96.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009339/1.626, allocations: 480.6 kB / 0.889 GB, free: 95.96 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.00389/1.63, allocations: 2.856 MB / 0.8918 GB, free: 94.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008013/1.631, allocations: 468.9 kB / 0.8922 GB, free: 94.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02379/1.655, allocations: 13.65 MB / 0.9056 GB, free: 90.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.416e-05/1.655, allocations: 42.55 kB / 0.9056 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.179e-05/1.655, allocations: 25.41 kB / 0.9056 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.748e-05/1.655, allocations: 17.97 kB / 0.9056 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.042/1.697, allocations: 25.86 MB / 0.9309 GB, free: 79.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/1.697, allocations: 4 kB / 0.9309 GB, free: 79.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/1.699, allocations: 0.5223 MB / 0.9314 GB, free: 78.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01513/1.714, allocations: 6.274 MB / 0.9375 GB, free: 74.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004901/1.715, allocations: 75.14 kB / 0.9376 GB, free: 74.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03702/1.752, allocations: 34.13 MB / 0.9709 GB, free: 44.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/1.752, allocations: 6.906 kB / 0.9709 GB, free: 44.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03157/1.783, allocations: 20.2 MB / 0.9907 GB, free: 23.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/1.786, allocations: 0.5429 MB / 0.9912 GB, free: 23.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002252/1.788, allocations: 67.98 kB / 0.9913 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004527/1.792, allocations: 344.8 kB / 0.9916 GB, free: 22.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/1.794, allocations: 268.5 kB / 0.9918 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003491/1.794, allocations: 99.97 kB / 0.9919 GB, free: 22.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004541/1.799, allocations: 3.049 MB / 0.9949 GB, free: 19.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.799, allocations: 3.938 kB / 0.9949 GB, free: 19.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008444/1.807, allocations: 1.836 MB / 0.9967 GB, free: 17.67 MB / 474.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.0009479/1.808, allocations: 225.2 kB / 0.9969 GB, free: 17.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01657/1.825, allocations: 11.82 MB / 1.008 GB, free: 5.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.825, allocations: 0 / 1.008 GB, free: 5.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00837/1.833, allocations: 5.672 MB / 1.014 GB, free: 15.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.837, allocations: 0.5598 MB / 1.015 GB, free: 15.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2518/2.089, allocations: 18.43 MB / 1.033 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008756/2.098, allocations: 4.491 MB / 1.037 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006048/2.104, allocations: 2.405 MB / 1.039 GB, free: 107 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009763/2.105, allocations: 338.8 kB / 1.04 GB, free: 107 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/2.105, allocations: 3.875 kB / 1.04 GB, free: 107 MB / 490.7 MB Notification: Performance of Templates: time 0.1181/2.223, allocations: 88.81 MB / 1.126 GB, free: 65.1 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetDriving/RollingWheelSetDriving.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches