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.00091/0.00091, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.374/1.374, allocations: 205.4 MB / 223.6 MB, free: 8.953 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.0006922/0.0006922, allocations: 89.48 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2226, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.3317, allocations: 98.22 MB / 473.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.3321, allocations: 87.95 kB / 474 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4054/0.7375, allocations: 113.1 MB / 0.5734 GB, free: 42.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.7375, allocations: 0 / 0.5734 GB, free: 42.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003891/0.7379, allocations: 116 kB / 0.5735 GB, free: 42.8 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.01986/0.7578, allocations: 6.096 MB / 0.5795 GB, free: 36.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.7579, allocations: 8.031 kB / 0.5795 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.77, allocations: 2.626 MB / 0.582 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.7827, allocations: 6.332 MB / 0.5882 GB, free: 27.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004575/0.7832, allocations: 427.7 kB / 0.5886 GB, free: 27.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003647/0.7868, allocations: 0.5665 MB / 0.5892 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03266/0.8195, allocations: 14.87 MB / 0.6037 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004339/0.82, allocations: 83.41 kB / 0.6038 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00226/0.8223, allocations: 271.8 kB / 0.604 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/0.8244, allocations: 1.427 MB / 0.6054 GB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.8491, allocations: 12.96 MB / 0.6181 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2645/1.114, allocations: 65.67 MB / 0.6822 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/1.13, allocations: 7.204 MB / 0.6893 GB, free: 38.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00598/1.136, allocations: 4.888 MB / 0.694 GB, free: 38.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02037/1.157, allocations: 14.23 MB / 0.7079 GB, free: 35.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.157, allocations: 65.91 kB / 0.708 GB, free: 35.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=279): time 5.631e-06/1.157, allocations: 0 / 0.708 GB, free: 35.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=370): time 0.1491/1.306, allocations: 48.55 MB / 0.7554 GB, free: 17.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/1.306, allocations: 170.5 kB / 0.7556 GB, free: 17.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009331/1.315, allocations: 4.826 MB / 0.7603 GB, free: 13.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/1.316, allocations: 81.7 kB / 0.7604 GB, free: 13.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002353/1.319, allocations: 3.764 MB / 0.764 GB, free: 9.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001834/1.321, allocations: 1.342 MB / 0.7653 GB, free: 8.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/1.322, allocations: 160 kB / 0.7655 GB, free: 8.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006038/1.322, allocations: 0.6345 MB / 0.7661 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006731/1.329, allocations: 4.446 MB / 0.7705 GB, free: 4.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/1.34, allocations: 8.506 MB / 0.7788 GB, free: 10.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01947/1.359, allocations: 13.94 MB / 0.7924 GB, free: 11.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001616/1.359, allocations: 44 kB / 0.7924 GB, free: 11.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.0433/1.403, allocations: 18.69 MB / 0.8107 GB, free: 8.508 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002403/1.403, allocations: 71.94 kB / 0.8107 GB, free: 8.438 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002987/1.403, allocations: 141.1 kB / 0.8109 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0198/1.423, allocations: 6.646 MB / 0.8174 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2/1.623, allocations: 1.718 MB / 0.819 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04976/1.673, allocations: 35.41 MB / 0.8536 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008035/1.681, allocations: 0.5652 MB / 0.8542 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002209/1.683, allocations: 480.5 kB / 0.8546 GB, free: 107.7 MB / 458.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.008186/1.692, allocations: 2.87 MB / 0.8574 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001857/1.693, allocations: 478 kB / 0.8579 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03168/1.725, allocations: 13.66 MB / 0.8712 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.069e-05/1.725, allocations: 37.59 kB / 0.8713 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/1.725, allocations: 25.16 kB / 0.8713 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/1.725, allocations: 21.53 kB / 0.8713 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05852/1.784, allocations: 25.74 MB / 0.8964 GB, free: 92.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.627e-05/1.784, allocations: 3.188 kB / 0.8964 GB, free: 92.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/1.787, allocations: 0.5157 MB / 0.897 GB, free: 92.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01764/1.804, allocations: 6.283 MB / 0.9031 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001223/1.806, allocations: 71.41 kB / 0.9032 GB, free: 88.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04921/1.855, allocations: 32.67 MB / 0.9351 GB, free: 59.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.855, allocations: 10.81 kB / 0.9351 GB, free: 59.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03871/1.894, allocations: 19.65 MB / 0.9543 GB, free: 40.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003955/1.898, allocations: 1.329 MB / 0.9556 GB, free: 38.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/1.9, allocations: 71.92 kB / 0.9556 GB, free: 38.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004533/1.904, allocations: 347.4 kB / 0.956 GB, free: 38.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001753/1.906, allocations: 263 kB / 0.9562 GB, free: 38.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008697/1.907, allocations: 99.97 kB / 0.9563 GB, free: 37.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006432/1.914, allocations: 3.098 MB / 0.9593 GB, free: 34.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.914, allocations: 0.9844 kB / 0.9593 GB, free: 34.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01075/1.924, allocations: 1.833 MB / 0.9611 GB, free: 33.01 MB / 458.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.00138/1.926, allocations: 218.4 kB / 0.9613 GB, free: 32.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02007/1.946, allocations: 11.82 MB / 0.9729 GB, free: 21.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.946, allocations: 0 / 0.9729 GB, free: 21.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01038/1.956, allocations: 5.664 MB / 0.9784 GB, free: 15.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008684/1.965, allocations: 0.6049 MB / 0.979 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2345/2.2, allocations: 19.2 MB / 0.9978 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008046/2.208, allocations: 4.399 MB / 1.002 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/2.21, allocations: 409.7 kB / 1.002 GB, free: 104.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.143e-06/2.21, allocations: 0 / 1.002 GB, free: 104.4 MB / 458.7 MB Notification: Performance of Templates: time 0.4648/2.674, allocations: 224.7 MB / 1.222 GB, free: 79.54 MB / 458.7 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