Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 181.1 kB / 17.01 MB, free: 5.121 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.532/1.532, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001464/0.001464, allocations: 85 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002526, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2267, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.3474, allocations: 103.3 MB / 479.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.3477, allocations: 95.95 kB / 479.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4903/0.838, allocations: 121.4 MB / 0.5865 GB, free: 30 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.8381, allocations: 0 / 0.5865 GB, free: 30 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003821/0.8385, allocations: 128 kB / 0.5866 GB, free: 29.88 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: 2051 * Number of variables: 2051 Notification: Performance of Generate backend data structure: time 0.0256/0.8641, allocations: 6.668 MB / 0.5932 GB, free: 23.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.8642, allocations: 8.031 kB / 0.5932 GB, free: 23.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.8769, allocations: 2.769 MB / 0.5959 GB, free: 20.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/0.8942, allocations: 7.75 MB / 0.6034 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/0.8948, allocations: 452 kB / 0.6039 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00331/0.8981, allocations: 0.6012 MB / 0.6045 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04164/0.9398, allocations: 15.72 MB / 0.6198 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006495/0.9405, allocations: 75.31 kB / 0.6199 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00426/0.9447, allocations: 283.9 kB / 0.6201 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002845/0.9476, allocations: 1.474 MB / 0.6216 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0321/0.9798, allocations: 13.63 MB / 0.6349 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3653/1.345, allocations: 68.97 MB / 0.7022 GB, free: 27.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02271/1.368, allocations: 7.678 MB / 0.7097 GB, free: 27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02198/1.39, allocations: 14.42 MB / 0.7238 GB, free: 22.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01823/1.408, allocations: 5.668 MB / 0.7294 GB, free: 21.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=295): time 8.225e-06/1.408, allocations: 0 / 0.7294 GB, free: 21.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=387): time 0.2176/1.626, allocations: 53.96 MB / 0.7821 GB, free: 7.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000206/1.626, allocations: 249.8 kB / 0.7823 GB, free: 7.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.637, allocations: 4.6 MB / 0.7868 GB, free: 2.918 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001915/1.639, allocations: 85.7 kB / 0.7869 GB, free: 2.828 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005581/1.645, allocations: 4.035 MB / 0.7908 GB, free: 14.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003138/1.648, allocations: 1.419 MB / 0.7922 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/1.649, allocations: 164 kB / 0.7924 GB, free: 13.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006833/1.65, allocations: 0.6532 MB / 0.793 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00969/1.66, allocations: 4.592 MB / 0.7975 GB, free: 8.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01459/1.674, allocations: 8.873 MB / 0.8061 GB, free: 13.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.686, allocations: 6.31 MB / 0.8123 GB, free: 6.898 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/1.686, allocations: 40 kB / 0.8123 GB, free: 6.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.2961/1.982, allocations: 19.25 MB / 0.8311 GB, free: 104.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.621e-05/1.982, allocations: 69.88 kB / 0.8312 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/1.983, allocations: 148.8 kB / 0.8313 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01785/2, allocations: 6.784 MB / 0.838 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006981/2.007, allocations: 1.8 MB / 0.8397 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04841/2.056, allocations: 36.99 MB / 0.8759 GB, free: 95.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008075/2.064, allocations: 0.5892 MB / 0.8764 GB, free: 95.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/2.066, allocations: 0.4917 MB / 0.8769 GB, free: 95.79 MB / 458.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (912): * Single equations (assignments): 904 * 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 {(10,63.0%) 102,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01209/2.078, allocations: 3.019 MB / 0.8799 GB, free: 94.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002472/2.081, allocations: 0.4916 MB / 0.8803 GB, free: 94.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02686/2.108, allocations: 13.93 MB / 0.8939 GB, free: 89.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.85e-05/2.108, allocations: 43.23 kB / 0.894 GB, free: 89.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/2.108, allocations: 28.8 kB / 0.894 GB, free: 89.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.836e-05/2.108, allocations: 20.5 kB / 0.894 GB, free: 89.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05781/2.166, allocations: 26.64 MB / 0.92 GB, free: 70.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.827e-05/2.166, allocations: 4 kB / 0.9201 GB, free: 70.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/2.169, allocations: 0.5371 MB / 0.9206 GB, free: 70.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01687/2.186, allocations: 6.411 MB / 0.9268 GB, free: 65.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001131/2.187, allocations: 75.8 kB / 0.9269 GB, free: 64.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04562/2.232, allocations: 35.85 MB / 0.9619 GB, free: 28.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/2.232, allocations: 7.406 kB / 0.9619 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0378/2.27, allocations: 20.45 MB / 0.9819 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2963/2.567, allocations: 1.394 MB / 0.9833 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/2.568, allocations: 67.69 kB / 0.9833 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004178/2.573, allocations: 353 kB / 0.9837 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/2.574, allocations: 272.4 kB / 0.9839 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000342/2.574, allocations: 102.5 kB / 0.984 GB, free: 103 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005583/2.58, allocations: 3.299 MB / 0.9872 GB, free: 102.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.58, allocations: 0 / 0.9872 GB, free: 102.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01012/2.59, allocations: 1.918 MB / 0.9891 GB, free: 102.8 MB / 458.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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 230 * 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.001809/2.592, allocations: 0.5266 MB / 0.9896 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01989/2.612, allocations: 12.19 MB / 1.002 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/2.612, allocations: 1.406 kB / 1.002 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0104/2.622, allocations: 5.839 MB / 1.007 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/2.628, allocations: 0.6088 MB / 1.008 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.044/2.672, allocations: 19.36 MB / 1.027 GB, free: 95.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007304/2.679, allocations: 4.703 MB / 1.031 GB, free: 94.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006226/2.685, allocations: 2.528 MB / 1.034 GB, free: 94.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/2.687, allocations: 361.2 kB / 1.034 GB, free: 94.08 MB / 458.7 MB Notification: Performance of SimCode: time 8.91e-07/2.687, allocations: 0 / 1.034 GB, free: 94.08 MB / 458.7 MB Notification: Performance of Templates: time 0.1344/2.821, allocations: 92.22 MB / 1.124 GB, free: 27.25 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheelSetPulling/RollingWheelSetPulling.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches