Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001102/0.001102, allocations: 177.6 kB / 17.41 MB, free: 4.293 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.345/1.345, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007347/0.0007348, allocations: 78.38 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003024, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2195, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.337, allocations: 103.5 MB / 479.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.3373, allocations: 95.95 kB / 479.3 MB, free: 8.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4278/0.7651, allocations: 119.3 MB / 0.5846 GB, free: 31.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.7651, allocations: 0 / 0.5846 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004058/0.7655, allocations: 124 kB / 0.5847 GB, free: 31.61 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.02018/0.7857, allocations: 6.386 MB / 0.591 GB, free: 25.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7858, allocations: 16.03 kB / 0.591 GB, free: 25.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.7979, allocations: 2.66 MB / 0.5936 GB, free: 22.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.8108, allocations: 6.506 MB / 0.5999 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/0.8113, allocations: 456.4 kB / 0.6004 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003252/0.8146, allocations: 0.5977 MB / 0.601 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03437/0.849, allocations: 15.51 MB / 0.6161 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005985/0.8496, allocations: 87.36 kB / 0.6162 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00358/0.8532, allocations: 287.8 kB / 0.6165 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002793/0.856, allocations: 1.466 MB / 0.6179 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02927/0.8853, allocations: 13.37 MB / 0.6309 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2626/1.148, allocations: 68.87 MB / 0.6982 GB, free: 27.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01817/1.166, allocations: 7.513 MB / 0.7055 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006238/1.173, allocations: 5.028 MB / 0.7104 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/1.192, allocations: 14.62 MB / 0.7247 GB, free: 21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0154/1.207, allocations: 5.428 MB / 0.73 GB, free: 19.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 6.281e-06/1.207, allocations: 0 / 0.73 GB, free: 19.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=384): time 0.1583/1.366, allocations: 50 MB / 0.7789 GB, free: 9.566 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/1.366, allocations: 175.1 kB / 0.779 GB, free: 9.363 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/1.379, allocations: 5.16 MB / 0.7841 GB, free: 5.035 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001442/1.38, allocations: 81.7 kB / 0.7841 GB, free: 4.949 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005057/1.385, allocations: 4.039 MB / 0.7881 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002759/1.388, allocations: 1.401 MB / 0.7895 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/1.389, allocations: 166.8 kB / 0.7896 GB, free: 15.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006392/1.39, allocations: 0.6493 MB / 0.7902 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008365/1.398, allocations: 4.596 MB / 0.7947 GB, free: 10.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/1.411, allocations: 8.902 MB / 0.8034 GB, free: 15.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2389/1.65, allocations: 14.54 MB / 0.8176 GB, free: 107.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/1.65, allocations: 43.75 kB / 0.8177 GB, free: 107.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.04056/1.69, allocations: 19.27 MB / 0.8365 GB, free: 106.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.691, allocations: 68.38 kB / 0.8365 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002008/1.691, allocations: 147.1 kB / 0.8367 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.019/1.71, allocations: 6.767 MB / 0.8433 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007337/1.717, allocations: 1.805 MB / 0.8451 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04956/1.767, allocations: 35.54 MB / 0.8798 GB, free: 95.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008381/1.775, allocations: 0.5866 MB / 0.8803 GB, free: 95.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002282/1.778, allocations: 0.4923 MB / 0.8808 GB, free: 95.43 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.007611/1.785, allocations: 3.012 MB / 0.8838 GB, free: 94.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/1.787, allocations: 0.4884 MB / 0.8842 GB, free: 94.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02823/1.815, allocations: 13.94 MB / 0.8978 GB, free: 87.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.356e-05/1.815, allocations: 40 kB / 0.8979 GB, free: 87.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.582e-05/1.815, allocations: 27.94 kB / 0.8979 GB, free: 87.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.562e-05/1.815, allocations: 19.84 kB / 0.8979 GB, free: 87.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04879/1.864, allocations: 26.37 MB / 0.9237 GB, free: 66.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.061e-05/1.864, allocations: 7.797 kB / 0.9237 GB, free: 66.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.867, allocations: 0.5257 MB / 0.9242 GB, free: 65.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01769/1.884, allocations: 6.409 MB / 0.9305 GB, free: 59.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001209/1.886, allocations: 75.98 kB / 0.9305 GB, free: 59.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04394/1.93, allocations: 34.4 MB / 0.9641 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.93, allocations: 14.47 kB / 0.9641 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2693/2.199, allocations: 19.86 MB / 0.9835 GB, free: 98.86 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0035/2.202, allocations: 1.383 MB / 0.9849 GB, free: 98.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/2.204, allocations: 67.94 kB / 0.9849 GB, free: 98.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/2.207, allocations: 353.6 kB / 0.9853 GB, free: 98.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/2.208, allocations: 276.7 kB / 0.9855 GB, free: 98.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003237/2.208, allocations: 98.77 kB / 0.9856 GB, free: 98.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005008/2.213, allocations: 3.305 MB / 0.9889 GB, free: 98.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.213, allocations: 0 / 0.9889 GB, free: 98.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007887/2.221, allocations: 1.918 MB / 0.9907 GB, free: 98.58 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: 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 (237): * Single equations (assignments): 227 * 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.001415/2.223, allocations: 0.5263 MB / 0.9913 GB, free: 98.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01707/2.24, allocations: 12.19 MB / 1.003 GB, free: 97.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/2.24, allocations: 0.5 kB / 1.003 GB, free: 97.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009387/2.249, allocations: 5.825 MB / 1.009 GB, free: 96.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00594/2.255, allocations: 0.6627 MB / 1.009 GB, free: 96.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03493/2.29, allocations: 20.11 MB / 1.029 GB, free: 90.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006467/2.297, allocations: 4.59 MB / 1.034 GB, free: 90 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/2.299, allocations: 423.8 kB / 1.034 GB, free: 89.99 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/2.299, allocations: 0 / 1.034 GB, free: 89.99 MB / 458.7 MB Notification: Performance of Templates: time 0.4471/2.746, allocations: 235.2 MB / 1.264 GB, free: 34.34 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches