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.002068/0.002068, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001078/0.001078, allocations: 90.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.762e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09643, allocations: 47.58 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5486, allocations: 97.93 MB / 467 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.549, allocations: 85.83 kB / 467.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7385/1.287, allocations: 115.3 MB / 0.5688 GB, free: 89.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.288, allocations: 4 kB / 0.5688 GB, free: 89.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005499/1.288, allocations: 117.7 kB / 0.5689 GB, free: 89.3 MB / 410.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.03757/1.326, allocations: 5.975 MB / 0.5747 GB, free: 87.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/1.326, allocations: 7.812 kB / 0.5747 GB, free: 87.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03295/1.359, allocations: 2.734 MB / 0.5774 GB, free: 86.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05071/1.41, allocations: 7.552 MB / 0.5848 GB, free: 85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007818/1.41, allocations: 425.1 kB / 0.5852 GB, free: 84.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004541/1.415, allocations: 0.5611 MB / 0.5857 GB, free: 84.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06831/1.483, allocations: 14.96 MB / 0.6003 GB, free: 77.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006253/1.484, allocations: 74.91 kB / 0.6004 GB, free: 77.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003934/1.488, allocations: 270 kB / 0.6006 GB, free: 77.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005187/1.493, allocations: 1.432 MB / 0.602 GB, free: 76.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06062/1.554, allocations: 13.02 MB / 0.6148 GB, free: 65.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.167/1.721, allocations: 65.77 MB / 0.679 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05262/1.774, allocations: 7.343 MB / 0.6862 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01669/1.791, allocations: 4.834 MB / 0.6909 GB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3573/2.148, allocations: 13.99 MB / 0.7045 GB, free: 96.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/2.148, allocations: 62.94 kB / 0.7046 GB, free: 96.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=282): time 7.564e-06/2.148, allocations: 0 / 0.7046 GB, free: 96.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=373): time 0.2429/2.391, allocations: 41.17 MB / 0.7448 GB, free: 88.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/2.391, allocations: 195 kB / 0.745 GB, free: 88.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008788/2.4, allocations: 4.265 MB / 0.7492 GB, free: 87.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001191/2.401, allocations: 84.02 kB / 0.7492 GB, free: 87.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002772/2.404, allocations: 3.611 MB / 0.7528 GB, free: 84.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002319/2.406, allocations: 1.351 MB / 0.7541 GB, free: 83.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000988/2.407, allocations: 159.3 kB / 0.7542 GB, free: 83.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004566/2.408, allocations: 0.6403 MB / 0.7549 GB, free: 82.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/2.418, allocations: 4.366 MB / 0.7591 GB, free: 81.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/2.431, allocations: 8.405 MB / 0.7673 GB, free: 72.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/2.445, allocations: 6.039 MB / 0.7732 GB, free: 67.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/2.446, allocations: 40 kB / 0.7733 GB, free: 67.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.06209/2.508, allocations: 18.35 MB / 0.7912 GB, free: 52.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/2.508, allocations: 68 kB / 0.7913 GB, free: 52.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/2.508, allocations: 140 kB / 0.7914 GB, free: 52.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03418/2.542, allocations: 6.658 MB / 0.7979 GB, free: 47.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/2.554, allocations: 1.715 MB / 0.7996 GB, free: 46.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1025/2.656, allocations: 35.31 MB / 0.834 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01758/2.674, allocations: 0.5617 MB / 0.8346 GB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003562/2.678, allocations: 475.9 kB / 0.835 GB, free: 9.5 MB / 426.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 () * 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.005647/2.683, allocations: 0.6896 MB / 0.8357 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003396/2.687, allocations: 473.9 kB / 0.8362 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07327/2.76, allocations: 13.56 MB / 0.8494 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-05/2.76, allocations: 40 kB / 0.8495 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.033e-05/2.76, allocations: 24 kB / 0.8495 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.872e-05/2.76, allocations: 15.94 kB / 0.8495 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4228/3.183, allocations: 25.78 MB / 0.8747 GB, free: 98.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001072/3.183, allocations: 3.906 kB / 0.8747 GB, free: 98.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007188/3.191, allocations: 0.5244 MB / 0.8752 GB, free: 98.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03312/3.224, allocations: 6.271 MB / 0.8813 GB, free: 98.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/3.225, allocations: 70.19 kB / 0.8814 GB, free: 98.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0756/3.301, allocations: 32.57 MB / 0.9132 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/3.301, allocations: 6.344 kB / 0.9132 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06146/3.362, allocations: 20.06 MB / 0.9328 GB, free: 74.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005388/3.368, allocations: 1.336 MB / 0.9341 GB, free: 73.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/3.37, allocations: 64.55 kB / 0.9341 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007067/3.377, allocations: 348.1 kB / 0.9345 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002097/3.379, allocations: 272.4 kB / 0.9347 GB, free: 72.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006625/3.38, allocations: 96.47 kB / 0.9348 GB, free: 72.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008175/3.388, allocations: 3.045 MB / 0.9378 GB, free: 69.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.152e-06/3.388, allocations: 0 / 0.9378 GB, free: 69.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01211/3.4, allocations: 1.836 MB / 0.9396 GB, free: 68.16 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 () * 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.001791/3.402, allocations: 216.3 kB / 0.9398 GB, free: 67.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0305/3.433, allocations: 11.65 MB / 0.9512 GB, free: 57.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/3.433, allocations: 0 / 0.9512 GB, free: 57.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01628/3.449, allocations: 5.595 MB / 0.9566 GB, free: 52.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006452/3.456, allocations: 0.5713 MB / 0.9572 GB, free: 51.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05301/3.509, allocations: 14.69 MB / 0.9715 GB, free: 39.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/3.519, allocations: 4.526 MB / 0.976 GB, free: 35.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002909/3.522, allocations: 401.8 kB / 0.9763 GB, free: 35.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.824e-06/3.522, allocations: 0 / 0.9763 GB, free: 35.56 MB / 442.7 MB Notification: Performance of Templates: time 1.052/4.575, allocations: 211.7 MB / 1.183 GB, free: 131 MB / 490.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