Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.699/1.699, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007997/0.0007995, allocations: 101.5 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2608, allocations: 47.56 MB / 375.1 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.0105/0.2714, allocations: 12.57 MB / 387.6 MB, free: 35.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008414/0.2798, allocations: 4.072 MB / 391.7 MB, free: 32.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.2826, allocations: 51.88 kB / 391.8 MB, free: 31.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.284, allocations: 0.5948 MB / 392.4 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005142/0.2892, allocations: 2.206 MB / 394.6 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.2904, allocations: 471.2 kB / 395 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01789/0.3083, allocations: 17.68 MB / 412.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.3106, allocations: 1.597 MB / 414.3 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3117, allocations: 0.7433 MB / 415.1 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.3129, allocations: 1.238 MB / 416.3 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.3132, allocations: 84 kB / 416.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.3147, allocations: 0.9242 MB / 417.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007421/0.3155, allocations: 1.036 MB / 418.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000877/0.3164, allocations: 1.171 MB / 419.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.3188, allocations: 3.345 MB / 422.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3189, allocations: 0 / 422.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3189, allocations: 0 / 422.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.51e-05/0.3189, allocations: 0 / 422.8 MB, free: 0.8203 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.005805/0.3247, allocations: 2.731 MB / 425.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.3248, allocations: 8.031 kB / 425.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005878/0.3307, allocations: 1.709 MB / 427.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.334, allocations: 1.558 MB / 428.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3341, allocations: 127.1 kB / 429 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.3345, allocations: 171.8 kB / 429.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009302/0.3438, allocations: 6.592 MB / 435.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.477e-05/0.3439, allocations: 39.64 kB / 435.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.3442, allocations: 83.91 kB / 435.9 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.3461, allocations: 1.331 MB / 437.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.3567, allocations: 5.82 MB / 443 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03078/0.3876, allocations: 28.1 MB / 471.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005789/0.3934, allocations: 2.744 MB / 473.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.395, allocations: 1.27 MB / 475.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006668/0.3957, allocations: 0.6317 MB / 475.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.3957, allocations: 47.06 kB / 475.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.867e-06/0.3957, allocations: 3.938 kB / 475.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=154): time 0.0697/0.4654, allocations: 20.6 MB / 496.4 MB, free: 5.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.4656, allocations: 141.5 kB / 496.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005187/0.4708, allocations: 2.832 MB / 499.4 MB, free: 2.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00036/0.4712, allocations: 45.7 kB / 499.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.4728, allocations: 2.11 MB / 0.4898 GB, free: 144 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2001/0.6729, allocations: 0.6024 MB / 0.4904 GB, free: 110.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00079/0.6737, allocations: 99.19 kB / 0.4905 GB, free: 110.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000491/0.6743, allocations: 0.5125 MB / 0.491 GB, free: 110.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004082/0.6783, allocations: 2.197 MB / 0.4931 GB, free: 109.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004655/0.683, allocations: 5.168 MB / 0.4982 GB, free: 105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008228/0.6913, allocations: 7.964 MB / 0.5059 GB, free: 98.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/0.6914, allocations: 31.69 kB / 0.506 GB, free: 98.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02094/0.7123, allocations: 10.3 MB / 0.516 GB, free: 93.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.7124, allocations: 53.72 kB / 0.5161 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.008e-05/0.7125, allocations: 104 kB / 0.5162 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.7232, allocations: 3.495 MB / 0.5196 GB, free: 89.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/0.7265, allocations: 1.103 MB / 0.5207 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/0.7417, allocations: 12.05 MB / 0.5324 GB, free: 76.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/0.7456, allocations: 328.5 kB / 0.5327 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006224/0.7463, allocations: 313 kB / 0.533 GB, free: 75.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 15 (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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (585): * Single equations (assignments): 575 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002089/0.7484, allocations: 1.468 MB / 0.5345 GB, free: 74.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/0.7488, allocations: 248.7 kB / 0.5347 GB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.7625, allocations: 6.026 MB / 0.5406 GB, free: 67.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.034e-05/0.7626, allocations: 20 kB / 0.5406 GB, free: 67.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/0.7626, allocations: 8 kB / 0.5406 GB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.245e-05/0.7626, allocations: 7.969 kB / 0.5406 GB, free: 67.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02441/0.7871, allocations: 13.22 MB / 0.5535 GB, free: 54.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.7871, allocations: 0 / 0.5535 GB, free: 54.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.7882, allocations: 235.1 kB / 0.5538 GB, free: 54.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01137/0.7996, allocations: 4.137 MB / 0.5578 GB, free: 50.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005152/0.8001, allocations: 39.97 kB / 0.5578 GB, free: 50.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/0.8162, allocations: 12.1 MB / 0.5696 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8162, allocations: 3.938 kB / 0.5697 GB, free: 38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.8347, allocations: 9.931 MB / 0.5794 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008333/0.8356, allocations: 305.8 kB / 0.5796 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/0.8366, allocations: 39.92 kB / 0.5797 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/0.8389, allocations: 184.5 kB / 0.5799 GB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006776/0.8396, allocations: 112.8 kB / 0.58 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/0.8399, allocations: 51.95 kB / 0.58 GB, free: 27.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003236/0.8431, allocations: 1.751 MB / 0.5817 GB, free: 25.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8432, allocations: 0 / 0.5817 GB, free: 25.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004777/0.8479, allocations: 0.83 MB / 0.5825 GB, free: 24.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005729/0.8485, allocations: 157.6 kB / 0.5827 GB, free: 24.58 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009728/0.8583, allocations: 6.207 MB / 0.5887 GB, free: 18.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.8583, allocations: 0 / 0.5887 GB, free: 18.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004665/0.863, allocations: 2.861 MB / 0.5915 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.8658, allocations: 287.7 kB / 0.5918 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.8783, allocations: 8.695 MB / 0.6003 GB, free: 6.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.8802, allocations: 2.321 MB / 0.6026 GB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/0.8809, allocations: 227.4 kB / 0.6028 GB, free: 3.672 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.8809, allocations: 0 / 0.6028 GB, free: 3.672 MB / 378.7 MB Notification: Performance of Templates: time 0.3188/1.2, allocations: 128.8 MB / 0.7286 GB, free: 73.77 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches