Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.00171, allocations: 175.3 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 235.5 MB, free: 2.883 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 84.06 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.265e-05, allocations: 0 / 343.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 50.42 MB / 394.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4485, allocations: 104.6 MB / 498.9 MB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4488, allocations: 87.78 kB / 498.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5443/0.9932, allocations: 122.5 MB / 0.6069 GB, free: 93.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.9932, allocations: 3.938 kB / 0.6069 GB, free: 93.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005677/0.9938, allocations: 129.7 kB / 0.607 GB, free: 93.37 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.0241/1.018, allocations: 6.22 MB / 0.6131 GB, free: 89.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.018, allocations: 7.531 kB / 0.6131 GB, free: 89.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/1.032, allocations: 2.769 MB / 0.6158 GB, free: 88.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01838/1.05, allocations: 7.239 MB / 0.6229 GB, free: 82.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005219/1.051, allocations: 455.9 kB / 0.6233 GB, free: 82.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003879/1.055, allocations: 0.6051 MB / 0.6239 GB, free: 81.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04173/1.097, allocations: 15.59 MB / 0.6391 GB, free: 64.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006543/1.097, allocations: 83.23 kB / 0.6392 GB, free: 64.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003568/1.101, allocations: 283.9 kB / 0.6395 GB, free: 64.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/1.103, allocations: 1.466 MB / 0.6409 GB, free: 62.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02983/1.133, allocations: 13.44 MB / 0.654 GB, free: 49.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4062/1.539, allocations: 68.75 MB / 0.7211 GB, free: 60.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0217/1.561, allocations: 7.625 MB / 0.7286 GB, free: 59.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007479/1.569, allocations: 4.981 MB / 0.7335 GB, free: 59.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02488/1.594, allocations: 14.35 MB / 0.7475 GB, free: 57.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01713/1.611, allocations: 5.625 MB / 0.753 GB, free: 57.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 7.224e-06/1.611, allocations: 0 / 0.753 GB, free: 57.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=388): time 0.1523/1.763, allocations: 44.27 MB / 0.7962 GB, free: 42.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.764, allocations: 251 kB / 0.7964 GB, free: 42.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.774, allocations: 4.507 MB / 0.8008 GB, free: 38.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001546/1.776, allocations: 82.8 kB / 0.8009 GB, free: 38.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00412/1.78, allocations: 4.02 MB / 0.8048 GB, free: 34.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002533/1.782, allocations: 1.424 MB / 0.8062 GB, free: 33.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/1.783, allocations: 165.1 kB / 0.8064 GB, free: 33.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004093/1.784, allocations: 0.6578 MB / 0.807 GB, free: 32.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006183/1.79, allocations: 4.562 MB / 0.8115 GB, free: 28.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/1.801, allocations: 8.842 MB / 0.8201 GB, free: 18.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.812, allocations: 6.337 MB / 0.8263 GB, free: 12.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002082/1.812, allocations: 44 kB / 0.8263 GB, free: 12.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.04638/1.858, allocations: 19.2 MB / 0.8451 GB, free: 9.906 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003107/1.859, allocations: 70.97 kB / 0.8452 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003655/1.859, allocations: 148 kB / 0.8453 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02198/1.881, allocations: 6.574 MB / 0.8517 GB, free: 3.098 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007477/1.888, allocations: 1.813 MB / 0.8535 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06141/1.95, allocations: 35.61 MB / 0.8883 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009852/1.96, allocations: 0.5941 MB / 0.8888 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003104/1.963, allocations: 0.4921 MB / 0.8893 GB, free: 12.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 905 * 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 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005616/1.969, allocations: 0.7227 MB / 0.89 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002929/1.972, allocations: 497.6 kB / 0.8905 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4086/2.38, allocations: 13.95 MB / 0.9041 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001563/2.381, allocations: 40.12 kB / 0.9042 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001169/2.381, allocations: 27.45 kB / 0.9042 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001389/2.381, allocations: 19.73 kB / 0.9042 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05942/2.44, allocations: 26.72 MB / 0.9303 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-05/2.44, allocations: 7.125 kB / 0.9303 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/2.443, allocations: 0.5338 MB / 0.9308 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01755/2.461, allocations: 6.404 MB / 0.9371 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001876/2.463, allocations: 77.98 kB / 0.9372 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04598/2.509, allocations: 34.3 MB / 0.9707 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/2.509, allocations: 7.312 kB / 0.9707 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03606/2.545, allocations: 20.47 MB / 0.9907 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/2.547, allocations: 0.5776 MB / 0.9912 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002658/2.55, allocations: 68 kB / 0.9913 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005019/2.555, allocations: 354.4 kB / 0.9916 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001815/2.557, allocations: 276.5 kB / 0.9919 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004518/2.557, allocations: 104.1 kB / 0.992 GB, free: 120 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006086/2.563, allocations: 3.212 MB / 0.9951 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/2.563, allocations: 0 / 0.9951 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0124/2.576, allocations: 1.92 MB / 0.997 GB, free: 115.2 MB / 0.4948 GB 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00203/2.578, allocations: 0.5011 MB / 0.9975 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02012/2.598, allocations: 12.05 MB / 1.009 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/2.598, allocations: 4 kB / 1.009 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01152/2.61, allocations: 5.819 MB / 1.015 GB, free: 97.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005797/2.615, allocations: 0.5875 MB / 1.016 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04022/2.656, allocations: 14.77 MB / 1.03 GB, free: 82.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009805/2.666, allocations: 4.696 MB / 1.035 GB, free: 77.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007435/2.673, allocations: 2.527 MB / 1.037 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/2.674, allocations: 355.3 kB / 1.037 GB, free: 74.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.462e-06/2.674, allocations: 0 / 1.037 GB, free: 74.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.4678/3.142, allocations: 92.39 MB / 1.128 GB, free: 134 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetPulling/RollingWheelSetPulling.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches