Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 62.55 kB / 306.9 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09892, allocations: 50.53 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01229/0.1113, allocations: 7.013 MB / 364.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0088/0.1201, allocations: 3.169 MB / 367.7 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.1215, allocations: 31.94 kB / 367.7 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.1244, allocations: 0.8951 MB / 368.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004816/0.1293, allocations: 1.339 MB / 369.9 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.131, allocations: 0.5264 MB / 370.4 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2048/0.3359, allocations: 2.748 MB / 373.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.3376, allocations: 1.323 MB / 374.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3386, allocations: 0.8595 MB / 375.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.341, allocations: 2.124 MB / 377.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004388/0.3414, allocations: 177.9 kB / 377.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.3431, allocations: 0.9572 MB / 378.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009986/0.3441, allocations: 1.109 MB / 379.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.3452, allocations: 1.299 MB / 381 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.349, allocations: 4.214 MB / 385.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.349, allocations: 0.9688 kB / 385.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.349, allocations: 0 / 385.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.373e-05/0.3491, allocations: 0 / 385.3 MB, free: 7.613 MB / 302.1 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.00732/0.3564, allocations: 3.345 MB / 388.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3564, allocations: 8.844 kB / 388.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/0.3621, allocations: 1.654 MB / 390.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.3645, allocations: 1.473 MB / 391.7 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.3646, allocations: 130.2 kB / 391.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.3649, allocations: 174 kB / 392 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007472/0.3724, allocations: 6.598 MB / 398.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-05/0.3725, allocations: 40.41 kB / 398.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.3727, allocations: 83.77 kB / 398.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001974/0.3747, allocations: 1.33 MB / 400.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009455/0.3842, allocations: 5.841 MB / 405.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03091/0.4151, allocations: 28.04 MB / 434 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005976/0.4211, allocations: 2.796 MB / 436.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.4228, allocations: 1.306 MB / 438.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/0.4235, allocations: 0.6307 MB / 438.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.4236, allocations: 50.86 kB / 438.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 3.527e-06/0.4236, allocations: 3.938 kB / 438.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=163): time 0.07111/0.4947, allocations: 20.99 MB / 459.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.4948, allocations: 171.2 kB / 459.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.4989, allocations: 2.787 MB / 462.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.4992, allocations: 45.7 kB / 462.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.5006, allocations: 2.076 MB / 464.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/0.5013, allocations: 0.6269 MB / 465.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/0.503, allocations: 1.002 MB / 466.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.5031, allocations: 305.1 kB / 466.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/0.5063, allocations: 2.235 MB / 469 MB, free: 8.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/0.5114, allocations: 5.149 MB / 474.1 MB, free: 2.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00901/0.5205, allocations: 7.963 MB / 482.1 MB, free: 8.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.794e-05/0.5205, allocations: 32 kB / 482.1 MB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02191/0.5424, allocations: 10.29 MB / 492.4 MB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/0.5425, allocations: 54.66 kB / 492.5 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.701e-05/0.5426, allocations: 100 kB / 492.6 MB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.5542, allocations: 3.434 MB / 496 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.5576, allocations: 1.088 MB / 497.1 MB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.5764, allocations: 12.87 MB / 0.498 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/0.5811, allocations: 331.4 kB / 0.4983 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008664/0.582, allocations: 304 kB / 0.4986 GB, free: 12.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (577): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002932/0.585, allocations: 1.473 MB / 0.5 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/0.5856, allocations: 252.7 kB / 0.5003 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/0.6012, allocations: 5.989 MB / 0.5061 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/0.6013, allocations: 28 kB / 0.5062 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.6013, allocations: 11.94 kB / 0.5062 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.6014, allocations: 11.97 kB / 0.5062 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02917/0.6305, allocations: 13.23 MB / 0.5191 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/0.6306, allocations: 7.984 kB / 0.5191 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.632, allocations: 227.7 kB / 0.5193 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01309/0.6451, allocations: 4.018 MB / 0.5232 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003877/0.6455, allocations: 47.95 kB / 0.5233 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2009/0.8464, allocations: 12.82 MB / 0.5358 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8464, allocations: 2.875 kB / 0.5358 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01969/0.8661, allocations: 10.08 MB / 0.5457 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/0.8668, allocations: 304.9 kB / 0.5459 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/0.8672, allocations: 39.36 kB / 0.546 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.8688, allocations: 183.7 kB / 0.5462 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/0.8693, allocations: 113.3 kB / 0.5463 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.8694, allocations: 61.66 kB / 0.5463 GB, free: 138.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002294/0.8717, allocations: 1.726 MB / 0.548 GB, free: 137.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8718, allocations: 0 / 0.548 GB, free: 137.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003479/0.8752, allocations: 0.8145 MB / 0.5488 GB, free: 137.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003708/0.8756, allocations: 162.3 kB / 0.549 GB, free: 137.6 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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 trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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.009079/0.8847, allocations: 6.81 MB / 0.5556 GB, free: 134.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8847, allocations: 0 / 0.5556 GB, free: 134.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004369/0.8891, allocations: 2.894 MB / 0.5584 GB, free: 132.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.891, allocations: 294.6 kB / 0.5587 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008928/0.8999, allocations: 7.366 MB / 0.5659 GB, free: 125.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.9016, allocations: 2.331 MB / 0.5682 GB, free: 123.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00283/0.9044, allocations: 1.503 MB / 0.5697 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.9048, allocations: 187.4 kB / 0.5698 GB, free: 121.5 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.9048, allocations: 4 kB / 0.5698 GB, free: 121.5 MB / 446.1 MB Notification: Performance of Templates: time 0.05294/0.9578, allocations: 40.72 MB / 0.6096 GB, free: 80.95 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches