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.01212/0.01212, allocations: 187.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.708/3.708, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001791/0.001791, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006196/0.0006197, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1611, allocations: 47.57 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.02998/0.1911, allocations: 11.91 MB / 386.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.4717/0.663, allocations: 4.151 MB / 390.6 MB, free: 8.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/0.6668, allocations: 51.84 kB / 390.7 MB, free: 8.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003536/0.6704, allocations: 0.5396 MB / 391.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.6832, allocations: 1.944 MB / 393.1 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.6863, allocations: 435.3 kB / 393.6 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.05683/0.7432, allocations: 13.68 MB / 407.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005333/0.7486, allocations: 1.534 MB / 408.8 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.7508, allocations: 0.6212 MB / 409.4 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/0.754, allocations: 0.9117 MB / 410.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.7552, allocations: 86.28 kB / 410.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.7592, allocations: 0.7546 MB / 411.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002571/0.7619, allocations: 0.9646 MB / 412.1 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.7633, allocations: 0.5104 MB / 412.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007935/0.7713, allocations: 3.352 MB / 416 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.7714, allocations: 0 / 416 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.142e-06/0.7715, allocations: 0 / 416 MB, free: 2.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001889/0.7717, allocations: 1.422 kB / 416 MB, free: 2.133 MB / 282.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.01357/0.7852, allocations: 2.792 MB / 418.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.108e-05/0.7854, allocations: 8.031 kB / 418.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.021/0.8064, allocations: 1.989 MB / 420.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009137/0.8156, allocations: 1.758 MB / 422.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.816, allocations: 128 kB / 422.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.8177, allocations: 175.9 kB / 422.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/0.8469, allocations: 6.631 MB / 429.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/0.8473, allocations: 31.75 kB / 429.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/0.8488, allocations: 86.09 kB / 429.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006268/0.8551, allocations: 1.33 MB / 430.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02669/0.882, allocations: 5.876 MB / 436.8 MB, free: 13.31 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07135/0.9534, allocations: 28.22 MB / 465 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/0.9688, allocations: 2.758 MB / 467.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/0.9704, allocations: 0.6284 MB / 468.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.729e-05/0.9706, allocations: 48.59 kB / 468.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 8.045e-06/0.9706, allocations: 7.938 kB / 468.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.189/1.16, allocations: 20.91 MB / 489.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/1.16, allocations: 149.4 kB / 489.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01071/1.171, allocations: 2.972 MB / 492.5 MB, free: 4.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007356/1.171, allocations: 45.7 kB / 492.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003754/1.175, allocations: 2.102 MB / 494.6 MB, free: 2.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00175/1.177, allocations: 0.5991 MB / 495.2 MB, free: 1.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009835/1.178, allocations: 96 kB / 495.3 MB, free: 1.652 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007533/1.179, allocations: 0.5213 MB / 495.8 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009586/1.188, allocations: 2.19 MB / 498 MB, free: 14.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/1.203, allocations: 5.139 MB / 0.4914 GB, free: 8.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/1.216, allocations: 3.296 MB / 0.4946 GB, free: 5.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/1.216, allocations: 28 kB / 0.4946 GB, free: 4.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.06526/1.282, allocations: 10.2 MB / 0.5046 GB, free: 10.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/1.282, allocations: 52 kB / 0.5046 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003111/1.282, allocations: 104.8 kB / 0.5047 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03543/1.318, allocations: 3.522 MB / 0.5082 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/1.329, allocations: 1.096 MB / 0.5092 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05402/1.383, allocations: 12.46 MB / 0.5214 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.393, allocations: 334.2 kB / 0.5217 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/1.395, allocations: 304 kB / 0.522 GB, free: 8.746 MB / 410.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 (581): * Single equations (assignments): 571 * 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.00655/1.402, allocations: 1.469 MB / 0.5234 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.403, allocations: 256.7 kB / 0.5237 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04513/1.448, allocations: 6.019 MB / 0.5296 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.614e-05/1.448, allocations: 23.94 kB / 0.5296 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.945e-05/1.448, allocations: 8 kB / 0.5296 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.445e-05/1.448, allocations: 5.625 kB / 0.5296 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08171/1.53, allocations: 13.23 MB / 0.5425 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/1.53, allocations: 4 kB / 0.5425 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003262/1.533, allocations: 235.7 kB / 0.5427 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4703/2.004, allocations: 4.132 MB / 0.5468 GB, free: 141.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007926/2.005, allocations: 43.73 kB / 0.5468 GB, free: 141.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05707/2.062, allocations: 12.53 MB / 0.5591 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.062, allocations: 1.406 kB / 0.5591 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05718/2.119, allocations: 9.985 MB / 0.5688 GB, free: 134.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/2.12, allocations: 313.8 kB / 0.5691 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00145/2.122, allocations: 35.66 kB / 0.5691 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005225/2.127, allocations: 191.7 kB / 0.5693 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001879/2.129, allocations: 104.2 kB / 0.5694 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006498/2.13, allocations: 53.48 kB / 0.5695 GB, free: 134.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007413/2.137, allocations: 1.858 MB / 0.5713 GB, free: 133.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.333e-06/2.137, allocations: 0 / 0.5713 GB, free: 133.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0114/2.149, allocations: 0.8502 MB / 0.5721 GB, free: 133.4 MB / 426.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.001479/2.15, allocations: 174.5 kB / 0.5723 GB, free: 133.2 MB / 426.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.02542/2.176, allocations: 6.193 MB / 0.5783 GB, free: 130.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/2.176, allocations: 0 / 0.5783 GB, free: 130.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01292/2.189, allocations: 2.857 MB / 0.5811 GB, free: 129.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/2.193, allocations: 273.3 kB / 0.5814 GB, free: 128.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/2.221, allocations: 8.678 MB / 0.5899 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0149/2.236, allocations: 2.388 MB / 0.5922 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/2.238, allocations: 227.4 kB / 0.5924 GB, free: 118.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/2.238, allocations: 0 / 0.5924 GB, free: 118.2 MB / 426.7 MB Notification: Performance of Templates: time 0.828/3.066, allocations: 122.4 MB / 0.7119 GB, free: 137.7 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/jenkins1/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