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.001479/0.001479, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.894/1.894, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001191/0.00119, allocations: 92.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003992, allocations: 15.98 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3268, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.4899, allocations: 98.02 MB / 472.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/0.4903, allocations: 95.95 kB / 472.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6918/1.182, allocations: 115.2 MB / 0.5741 GB, free: 41.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.182, allocations: 0 / 0.5741 GB, free: 41.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003755/1.183, allocations: 112 kB / 0.5742 GB, free: 41.12 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.02794/1.211, allocations: 6.369 MB / 0.5804 GB, free: 34.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.211, allocations: 8.031 kB / 0.5804 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02135/1.232, allocations: 2.73 MB / 0.5831 GB, free: 31.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02429/1.256, allocations: 7.577 MB / 0.5905 GB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005446/1.257, allocations: 431.3 kB / 0.5909 GB, free: 23.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003117/1.26, allocations: 0.5661 MB / 0.5915 GB, free: 23.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04519/1.305, allocations: 15.07 MB / 0.6062 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004833/1.306, allocations: 79.3 kB / 0.6063 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/1.309, allocations: 267.9 kB / 0.6065 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003411/1.312, allocations: 1.435 MB / 0.6079 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04351/1.356, allocations: 13.21 MB / 0.6208 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4732/1.829, allocations: 65.76 MB / 0.685 GB, free: 34.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0325/1.861, allocations: 7.395 MB / 0.6923 GB, free: 33.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03378/1.895, allocations: 14 MB / 0.7059 GB, free: 31.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/1.895, allocations: 63.31 kB / 0.706 GB, free: 31.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=282): time 7.894e-06/1.895, allocations: 0 / 0.706 GB, free: 31.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=373): time 0.2945/2.19, allocations: 50.74 MB / 0.7555 GB, free: 16.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/2.19, allocations: 196.5 kB / 0.7557 GB, free: 16.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/2.201, allocations: 4.301 MB / 0.7599 GB, free: 12.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001261/2.202, allocations: 81.7 kB / 0.76 GB, free: 12.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003214/2.205, allocations: 3.617 MB / 0.7635 GB, free: 9.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002495/2.208, allocations: 1.348 MB / 0.7648 GB, free: 8.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/2.21, allocations: 156 kB / 0.765 GB, free: 8.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007261/2.211, allocations: 0.6417 MB / 0.7656 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/2.222, allocations: 4.446 MB / 0.77 GB, free: 3.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01578/2.238, allocations: 8.484 MB / 0.7782 GB, free: 10.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/2.254, allocations: 6.081 MB / 0.7842 GB, free: 4.867 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/2.255, allocations: 40 kB / 0.7842 GB, free: 4.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.07034/2.325, allocations: 18.51 MB / 0.8023 GB, free: 2.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/2.325, allocations: 76.16 kB / 0.8024 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002568/2.325, allocations: 140 kB / 0.8025 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.35/2.675, allocations: 6.661 MB / 0.809 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/2.687, allocations: 1.722 MB / 0.8107 GB, free: 95.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09485/2.782, allocations: 36.86 MB / 0.8467 GB, free: 89.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/2.793, allocations: 0.5707 MB / 0.8472 GB, free: 89.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/2.795, allocations: 481.6 kB / 0.8477 GB, free: 89.64 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.009081/2.804, allocations: 2.864 MB / 0.8505 GB, free: 88.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001917/2.806, allocations: 475.2 kB / 0.851 GB, free: 88.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05361/2.86, allocations: 13.65 MB / 0.8643 GB, free: 83.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.796e-05/2.86, allocations: 42.84 kB / 0.8643 GB, free: 83.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.671e-05/2.86, allocations: 27.5 kB / 0.8643 GB, free: 83.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.171e-05/2.86, allocations: 18.19 kB / 0.8644 GB, free: 83.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08771/2.948, allocations: 25.87 MB / 0.8896 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.408e-05/2.948, allocations: 4 kB / 0.8896 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004827/2.953, allocations: 0.5162 MB / 0.8901 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03318/2.986, allocations: 6.284 MB / 0.8963 GB, free: 67.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001231/2.987, allocations: 74.61 kB / 0.8963 GB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08383/3.071, allocations: 34.12 MB / 0.9297 GB, free: 35.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/3.071, allocations: 10.89 kB / 0.9297 GB, free: 35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06279/3.134, allocations: 20.2 MB / 0.9494 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005138/3.139, allocations: 1.327 MB / 0.9507 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002461/3.142, allocations: 70.94 kB / 0.9508 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007003/3.149, allocations: 343.5 kB / 0.9511 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002354/3.151, allocations: 268.2 kB / 0.9513 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001328/3.153, allocations: 95.98 kB / 0.9514 GB, free: 12.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00868/3.161, allocations: 3.09 MB / 0.9545 GB, free: 9.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.32e-07/3.162, allocations: 3.938 kB / 0.9545 GB, free: 9.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0128/3.174, allocations: 1.839 MB / 0.9563 GB, free: 7.668 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.001747/3.176, allocations: 215.9 kB / 0.9565 GB, free: 7.488 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3414/3.518, allocations: 11.83 MB / 0.968 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/3.518, allocations: 0 / 0.968 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01613/3.534, allocations: 5.67 MB / 0.9735 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.005667/3.539, allocations: 0.5637 MB / 0.9741 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05998/3.6, allocations: 19.19 MB / 0.9928 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/3.612, allocations: 4.519 MB / 0.9972 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003226/3.615, allocations: 404.9 kB / 0.9976 GB, free: 102.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.614e-06/3.615, allocations: 0 / 0.9976 GB, free: 102.1 MB / 458.7 MB Notification: Performance of Templates: time 0.679/4.294, allocations: 211.7 MB / 1.204 GB, free: 81.61 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