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.001071/0.001072, allocations: 200.1 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007599/0.0007598, allocations: 108.5 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002122/0.0002122, allocations: 11.98 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2138, allocations: 51.3 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.3296, allocations: 100.2 MB / 0.4976 GB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.3299, allocations: 91.95 kB / 0.4977 GB, free: 7.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4134/0.7433, allocations: 117.3 MB / 0.6122 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7434, allocations: 0 / 0.6122 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003341/0.7437, allocations: 116 kB / 0.6123 GB, free: 15 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.01934/0.7631, allocations: 6.115 MB / 0.6183 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.7631, allocations: 8.031 kB / 0.6183 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.7758, allocations: 2.657 MB / 0.6209 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.7881, allocations: 5.567 MB / 0.6263 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004516/0.7886, allocations: 431.6 kB / 0.6268 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/0.7913, allocations: 0.5704 MB / 0.6273 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/0.8249, allocations: 14.87 MB / 0.6418 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004069/0.8254, allocations: 83.48 kB / 0.6419 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002288/0.8277, allocations: 275.8 kB / 0.6422 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002314/0.83, allocations: 1.431 MB / 0.6436 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/0.8582, allocations: 12.97 MB / 0.6562 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2836/1.142, allocations: 65.59 MB / 0.7203 GB, free: 39.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/1.158, allocations: 7.207 MB / 0.7273 GB, free: 38.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005114/1.163, allocations: 4.88 MB / 0.7321 GB, free: 38.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01742/1.181, allocations: 14.2 MB / 0.746 GB, free: 35.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/1.181, allocations: 67.19 kB / 0.746 GB, free: 35.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=279): time 5.791e-06/1.181, allocations: 0 / 0.746 GB, free: 35.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1462/1.327, allocations: 48.39 MB / 0.7933 GB, free: 16.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.327, allocations: 170.7 kB / 0.7934 GB, free: 16.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007381/1.335, allocations: 4.776 MB / 0.7981 GB, free: 12.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008728/1.336, allocations: 82.48 kB / 0.7982 GB, free: 12.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002023/1.338, allocations: 3.758 MB / 0.8018 GB, free: 9.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001637/1.339, allocations: 1.337 MB / 0.8032 GB, free: 8.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008698/1.34, allocations: 156 kB / 0.8033 GB, free: 8.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003418/1.34, allocations: 0.6317 MB / 0.8039 GB, free: 7.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00556/1.346, allocations: 4.448 MB / 0.8083 GB, free: 3.824 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009161/1.355, allocations: 8.52 MB / 0.8166 GB, free: 10.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01909/1.374, allocations: 13.95 MB / 0.8302 GB, free: 11.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001344/1.375, allocations: 40 kB / 0.8302 GB, free: 11.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.2535/1.628, allocations: 18.68 MB / 0.8485 GB, free: 99.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/1.628, allocations: 64.78 kB / 0.8485 GB, free: 99.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002534/1.629, allocations: 142.9 kB / 0.8487 GB, free: 99.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02995/1.659, allocations: 6.646 MB / 0.8552 GB, free: 99.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009597/1.668, allocations: 1.722 MB / 0.8569 GB, free: 99.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07254/1.741, allocations: 35.41 MB / 0.8914 GB, free: 94.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/1.752, allocations: 0.5624 MB / 0.892 GB, free: 94.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002157/1.754, allocations: 480.5 kB / 0.8924 GB, free: 94.19 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.008509/1.762, allocations: 2.868 MB / 0.8952 GB, free: 93.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001555/1.764, allocations: 473.7 kB / 0.8957 GB, free: 93.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02491/1.789, allocations: 13.66 MB / 0.909 GB, free: 88.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.901e-05/1.789, allocations: 34.97 kB / 0.9091 GB, free: 88.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.228e-05/1.789, allocations: 27.03 kB / 0.9091 GB, free: 88.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.19e-05/1.789, allocations: 21.05 kB / 0.9091 GB, free: 88.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04618/1.835, allocations: 25.72 MB / 0.9342 GB, free: 76.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-05/1.835, allocations: 0 / 0.9342 GB, free: 76.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.838, allocations: 0.5172 MB / 0.9347 GB, free: 76.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01621/1.854, allocations: 6.279 MB / 0.9409 GB, free: 71.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001161/1.855, allocations: 71.8 kB / 0.9409 GB, free: 71.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04073/1.896, allocations: 32.67 MB / 0.9728 GB, free: 40.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.896, allocations: 4 kB / 0.9729 GB, free: 40.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03185/1.928, allocations: 19.67 MB / 0.9921 GB, free: 20.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.929, allocations: 0.5453 MB / 0.9926 GB, free: 19.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001667/1.931, allocations: 60 kB / 0.9926 GB, free: 19.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003914/1.935, allocations: 347.5 kB / 0.993 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/1.936, allocations: 266.2 kB / 0.9932 GB, free: 19.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005742/1.937, allocations: 91.98 kB / 0.9933 GB, free: 19.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005865/1.943, allocations: 3.061 MB / 0.9963 GB, free: 15.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.943, allocations: 0 / 0.9963 GB, free: 15.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01358/1.956, allocations: 1.839 MB / 0.9981 GB, free: 14.16 MB / 474.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.001445/1.958, allocations: 228 kB / 0.9983 GB, free: 13.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02766/1.986, allocations: 11.81 MB / 1.01 GB, free: 2.188 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.986, allocations: 0 / 1.01 GB, free: 2.188 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2763/2.262, allocations: 5.647 MB / 1.015 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007214/2.269, allocations: 0.6133 MB / 1.016 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/2.304, allocations: 18.43 MB / 1.034 GB, free: 111.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006413/2.31, allocations: 4.383 MB / 1.038 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006677/2.317, allocations: 2.398 MB / 1.041 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/2.319, allocations: 334.7 kB / 1.041 GB, free: 110.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.482e-06/2.319, allocations: 3.688 kB / 1.041 GB, free: 110.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1801/2.499, allocations: 88.95 MB / 1.128 GB, free: 65.15 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/jenkins1/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