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.002294/0.002293, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001066/0.001067, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.797e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09195, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.5377, allocations: 103.2 MB / 472.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.5381, allocations: 87.8 kB / 472.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7574/1.296, allocations: 121.5 MB / 0.5799 GB, free: 90.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.296, allocations: 0 / 0.5799 GB, free: 90.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004377/1.296, allocations: 121.7 kB / 0.58 GB, free: 90.33 MB / 410.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.02763/1.324, allocations: 6.253 MB / 0.5861 GB, free: 87.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.324, allocations: 13.5 kB / 0.5862 GB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02216/1.346, allocations: 2.771 MB / 0.5889 GB, free: 87.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02637/1.372, allocations: 7.728 MB / 0.5964 GB, free: 84.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005964/1.373, allocations: 451.7 kB / 0.5968 GB, free: 83.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003758/1.377, allocations: 0.5975 MB / 0.5974 GB, free: 83.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05365/1.431, allocations: 15.61 MB / 0.6127 GB, free: 68.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000687/1.431, allocations: 87.23 kB / 0.6128 GB, free: 68.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003822/1.435, allocations: 288.4 kB / 0.613 GB, free: 68.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/1.439, allocations: 1.463 MB / 0.6145 GB, free: 67.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04325/1.482, allocations: 13.46 MB / 0.6276 GB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4363/1.919, allocations: 68.96 MB / 0.6949 GB, free: 86.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03611/1.955, allocations: 7.637 MB / 0.7024 GB, free: 85.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01072/1.965, allocations: 4.986 MB / 0.7073 GB, free: 85.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03516/2.001, allocations: 14.41 MB / 0.7213 GB, free: 83.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03005/2.031, allocations: 5.642 MB / 0.7269 GB, free: 83.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 9.689e-06/2.031, allocations: 0 / 0.7269 GB, free: 83.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=387): time 0.2457/2.277, allocations: 44.08 MB / 0.7699 GB, free: 70.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/2.277, allocations: 254.1 kB / 0.7701 GB, free: 69.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/2.288, allocations: 4.553 MB / 0.7746 GB, free: 65.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001388/2.29, allocations: 89.7 kB / 0.7747 GB, free: 65.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004451/2.294, allocations: 3.884 MB / 0.7785 GB, free: 62.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002756/2.297, allocations: 1.415 MB / 0.7799 GB, free: 61.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/2.299, allocations: 164 kB / 0.78 GB, free: 60.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007786/2.3, allocations: 0.6592 MB / 0.7807 GB, free: 60.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01147/2.311, allocations: 4.523 MB / 0.7851 GB, free: 56.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01454/2.326, allocations: 8.795 MB / 0.7937 GB, free: 46.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/2.34, allocations: 6.286 MB / 0.7998 GB, free: 40.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/2.341, allocations: 44 kB / 0.7998 GB, free: 40.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.06585/2.406, allocations: 18.93 MB / 0.8183 GB, free: 22.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/2.407, allocations: 73.19 kB / 0.8184 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000197/2.407, allocations: 148 kB / 0.8185 GB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04253/2.449, allocations: 6.768 MB / 0.8252 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01506/2.464, allocations: 1.813 MB / 0.8269 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4481/2.913, allocations: 35.42 MB / 0.8615 GB, free: 94.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/2.925, allocations: 0.5875 MB / 0.8621 GB, free: 94.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002702/2.927, allocations: 0.4919 MB / 0.8626 GB, free: 94.19 MB / 442.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 () * 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.004338/2.932, allocations: 0.7144 MB / 0.8633 GB, free: 94.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/2.934, allocations: 0.4947 MB / 0.8637 GB, free: 94.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05427/2.988, allocations: 13.86 MB / 0.8773 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.253e-05/2.988, allocations: 40.03 kB / 0.8773 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.766e-05/2.988, allocations: 27 kB / 0.8773 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.082e-05/2.988, allocations: 21.61 kB / 0.8774 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08733/3.076, allocations: 26.58 MB / 0.9033 GB, free: 86.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-05/3.076, allocations: 3.125 kB / 0.9033 GB, free: 86.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004989/3.081, allocations: 0.5345 MB / 0.9038 GB, free: 86.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03344/3.114, allocations: 6.41 MB / 0.9101 GB, free: 85.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001737/3.116, allocations: 74.66 kB / 0.9102 GB, free: 85.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08659/3.203, allocations: 34.3 MB / 0.9437 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/3.203, allocations: 7.281 kB / 0.9437 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06118/3.264, allocations: 20.34 MB / 0.9635 GB, free: 50.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005451/3.269, allocations: 1.39 MB / 0.9649 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/3.272, allocations: 68.55 kB / 0.965 GB, free: 48.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006631/3.278, allocations: 348.2 kB / 0.9653 GB, free: 48.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001985/3.28, allocations: 279.4 kB / 0.9656 GB, free: 47.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007127/3.281, allocations: 100.7 kB / 0.9657 GB, free: 47.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007785/3.289, allocations: 3.258 MB / 0.9688 GB, free: 44.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.395e-06/3.289, allocations: 0 / 0.9688 GB, free: 44.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01169/3.3, allocations: 1.924 MB / 0.9707 GB, free: 42.75 MB / 442.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) * 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.002494/3.303, allocations: 492.9 kB / 0.9712 GB, free: 42.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02914/3.332, allocations: 12.04 MB / 0.9829 GB, free: 30.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/3.332, allocations: 4 kB / 0.983 GB, free: 30.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01512/3.347, allocations: 5.761 MB / 0.9886 GB, free: 24.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005404/3.353, allocations: 0.6128 MB / 0.9892 GB, free: 24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05311/3.406, allocations: 15.37 MB / 1.004 GB, free: 8.652 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/3.417, allocations: 4.716 MB / 1.009 GB, free: 3.922 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003039/3.42, allocations: 427.3 kB / 1.009 GB, free: 3.508 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/3.42, allocations: 0 / 1.009 GB, free: 3.508 MB / 442.7 MB Notification: Performance of Templates: time 1.047/4.467, allocations: 221.7 MB / 1.226 GB, free: 114.4 MB / 474.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