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.001478/0.001477, allocations: 182.8 kB / 18.04 MB, free: 3.754 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.451/1.451, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007467/0.0007467, allocations: 82.42 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 8 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2282, allocations: 47.58 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.336, allocations: 98.21 MB / 475.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.3364, allocations: 99.94 kB / 475.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4159/0.7523, allocations: 113.1 MB / 0.5747 GB, free: 42.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.7524, allocations: 0 / 0.5747 GB, free: 42.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005113/0.7529, allocations: 120 kB / 0.5748 GB, free: 42.68 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.0189/0.7718, allocations: 6.1 MB / 0.5807 GB, free: 36.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.7719, allocations: 11.97 kB / 0.5808 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.7831, allocations: 2.626 MB / 0.5833 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.7952, allocations: 6.321 MB / 0.5895 GB, free: 27.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/0.7956, allocations: 431.6 kB / 0.5899 GB, free: 27.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/0.7981, allocations: 0.5665 MB / 0.5905 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/0.8286, allocations: 14.87 MB / 0.605 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003936/0.829, allocations: 83.42 kB / 0.6051 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/0.831, allocations: 275.8 kB / 0.6053 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001955/0.833, allocations: 1.435 MB / 0.6067 GB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02624/0.8593, allocations: 12.96 MB / 0.6194 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2643/1.124, allocations: 65.66 MB / 0.6835 GB, free: 38.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/1.14, allocations: 7.212 MB / 0.6905 GB, free: 37.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005414/1.146, allocations: 4.887 MB / 0.6953 GB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01832/1.164, allocations: 14.22 MB / 0.7092 GB, free: 35.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/1.164, allocations: 63.62 kB / 0.7093 GB, free: 35.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=279): time 6.281e-06/1.164, allocations: 0 / 0.7093 GB, free: 35.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=370): time 0.1445/1.309, allocations: 48.56 MB / 0.7567 GB, free: 17.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/1.309, allocations: 177.5 kB / 0.7569 GB, free: 17.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008349/1.317, allocations: 4.827 MB / 0.7616 GB, free: 13.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009041/1.318, allocations: 81.7 kB / 0.7616 GB, free: 13.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002258/1.321, allocations: 3.763 MB / 0.7653 GB, free: 9.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001839/1.322, allocations: 1.339 MB / 0.7666 GB, free: 8.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009102/1.323, allocations: 156 kB / 0.7668 GB, free: 8.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004734/1.324, allocations: 0.6362 MB / 0.7674 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005976/1.33, allocations: 4.446 MB / 0.7717 GB, free: 4.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009104/1.339, allocations: 8.512 MB / 0.78 GB, free: 10.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0189/1.358, allocations: 13.93 MB / 0.7937 GB, free: 11.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.358, allocations: 40 kB / 0.7937 GB, free: 11.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.0405/1.399, allocations: 18.7 MB / 0.812 GB, free: 8.406 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000161/1.399, allocations: 67.84 kB / 0.812 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/1.399, allocations: 144.1 kB / 0.8122 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01879/1.418, allocations: 6.647 MB / 0.8186 GB, free: 1.531 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2089/1.627, allocations: 1.715 MB / 0.8203 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04475/1.672, allocations: 35.41 MB / 0.8549 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.678, allocations: 0.5633 MB / 0.8555 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.679, allocations: 474.5 kB / 0.8559 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.004468/1.684, allocations: 2.866 MB / 0.8587 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008913/1.684, allocations: 476 kB / 0.8592 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02402/1.708, allocations: 13.66 MB / 0.8725 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/1.709, allocations: 38.16 kB / 0.8725 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.857e-05/1.709, allocations: 26.69 kB / 0.8726 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.294e-05/1.709, allocations: 20.3 kB / 0.8726 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04166/1.75, allocations: 25.74 MB / 0.8977 GB, free: 92.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/1.75, allocations: 6.594 kB / 0.8977 GB, free: 92.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.753, allocations: 0.51 MB / 0.8982 GB, free: 92.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01523/1.768, allocations: 6.281 MB / 0.9044 GB, free: 88.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006422/1.769, allocations: 70.94 kB / 0.9044 GB, free: 88.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03676/1.805, allocations: 32.67 MB / 0.9363 GB, free: 59.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.806, allocations: 12.59 kB / 0.9364 GB, free: 59.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02941/1.835, allocations: 19.65 MB / 0.9555 GB, free: 39.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00306/1.838, allocations: 1.335 MB / 0.9568 GB, free: 38.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007723/1.839, allocations: 71.17 kB / 0.9569 GB, free: 38.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002963/1.842, allocations: 347.5 kB / 0.9572 GB, free: 38.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000979/1.843, allocations: 255 kB / 0.9575 GB, free: 37.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/1.843, allocations: 95.97 kB / 0.9576 GB, free: 37.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004601/1.848, allocations: 3.102 MB / 0.9606 GB, free: 34.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.848, allocations: 1.688 kB / 0.9606 GB, free: 34.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006675/1.854, allocations: 1.841 MB / 0.9624 GB, free: 32.85 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.0006011/1.855, allocations: 213.6 kB / 0.9626 GB, free: 32.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01556/1.871, allocations: 11.82 MB / 0.9741 GB, free: 21.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.871, allocations: 2.594 kB / 0.9741 GB, free: 21.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007903/1.879, allocations: 5.657 MB / 0.9797 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005773/1.884, allocations: 0.6123 MB / 0.9803 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2353/2.12, allocations: 18.5 MB / 0.9983 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005913/2.126, allocations: 4.392 MB / 1.003 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006458/2.132, allocations: 2.393 MB / 1.005 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/2.134, allocations: 337.5 kB / 1.005 GB, free: 104.3 MB / 458.7 MB Notification: Performance of SimCode: time 9.61e-07/2.134, allocations: 0 / 1.005 GB, free: 104.3 MB / 458.7 MB Notification: Performance of Templates: time 0.1252/2.259, allocations: 89.08 MB / 1.092 GB, free: 54.91 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/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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches