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.001119/0.001119, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.84 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2464, allocations: 50.55 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008262/0.2547, allocations: 7.011 MB / 416.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005576/0.2604, allocations: 3.162 MB / 419.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.2614, allocations: 31.94 kB / 419.5 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.2634, allocations: 0.8874 MB / 420.3 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.2667, allocations: 1.374 MB / 421.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.2678, allocations: 0.5147 MB / 422.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.2711, allocations: 2.755 MB / 425 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.2729, allocations: 1.318 MB / 426.3 MB, free: 480 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.2744, allocations: 0.8641 MB / 427.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.277, allocations: 2.132 MB / 429.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004998/0.2775, allocations: 176 kB / 429.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.2792, allocations: 0.9595 MB / 430.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.2804, allocations: 1.11 MB / 431.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.2821, allocations: 1.293 MB / 432.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.2866, allocations: 4.381 MB / 437.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2866, allocations: 0 / 437.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2866, allocations: 0 / 437.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.194e-05/0.2867, allocations: 0 / 437.2 MB, free: 5.527 MB / 350.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.01037/0.2971, allocations: 3.359 MB / 440.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2971, allocations: 12.03 kB / 440.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008495/0.3056, allocations: 1.655 MB / 442.2 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.3088, allocations: 1.487 MB / 443.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.3089, allocations: 131.2 kB / 443.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003816/0.3093, allocations: 171.8 kB / 444 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.3214, allocations: 6.592 MB / 450.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.414e-05/0.3215, allocations: 35.72 kB / 450.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003305/0.3219, allocations: 91.89 kB / 450.7 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.3245, allocations: 1.323 MB / 452.1 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.3402, allocations: 5.847 MB / 457.9 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03082/0.371, allocations: 27.96 MB / 485.9 MB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.377, allocations: 2.788 MB / 488.7 MB, free: 432 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.3787, allocations: 1.302 MB / 490 MB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006727/0.3794, allocations: 0.6317 MB / 490.6 MB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3794, allocations: 55.06 kB / 490.6 MB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.436e-06/0.3794, allocations: 0 / 490.6 MB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07127/0.4507, allocations: 20.99 MB / 0.4996 GB, free: 9.176 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4509, allocations: 167.7 kB / 0.4998 GB, free: 8.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005148/0.456, allocations: 2.787 MB / 0.5025 GB, free: 6.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/0.4564, allocations: 49.73 kB / 0.5026 GB, free: 6.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.4582, allocations: 2.075 MB / 0.5046 GB, free: 4.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000952/0.4591, allocations: 0.6325 MB / 0.5052 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/0.4611, allocations: 0.9958 MB / 0.5062 GB, free: 2.359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4612, allocations: 305.1 kB / 0.5065 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/0.4646, allocations: 2.227 MB / 0.5087 GB, free: 15.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005369/0.47, allocations: 5.158 MB / 0.5137 GB, free: 9.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009191/0.4792, allocations: 7.972 MB / 0.5215 GB, free: 15.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.917e-05/0.4793, allocations: 28 kB / 0.5215 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02414/0.5035, allocations: 10.29 MB / 0.5316 GB, free: 5.441 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.5037, allocations: 50.88 kB / 0.5316 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001567/0.5038, allocations: 111.9 kB / 0.5317 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/0.5157, allocations: 3.427 MB / 0.5351 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/0.5198, allocations: 1.092 MB / 0.5361 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2387/0.7585, allocations: 12.83 MB / 0.5487 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/0.7622, allocations: 335 kB / 0.549 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004375/0.7626, allocations: 308.9 kB / 0.5493 GB, free: 116.5 MB / 462.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.001707/0.7643, allocations: 1.465 MB / 0.5507 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/0.7647, allocations: 252.1 kB / 0.5509 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/0.7787, allocations: 5.994 MB / 0.5568 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/0.7788, allocations: 26.94 kB / 0.5568 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/0.7789, allocations: 11.59 kB / 0.5568 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.7789, allocations: 7.5 kB / 0.5568 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/0.8031, allocations: 13.21 MB / 0.5697 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.8032, allocations: 3.5 kB / 0.5697 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.8043, allocations: 232.6 kB / 0.57 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01088/0.8152, allocations: 4.013 MB / 0.5739 GB, free: 97.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/0.8155, allocations: 47.95 kB / 0.5739 GB, free: 97.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/0.8305, allocations: 12.83 MB / 0.5865 GB, free: 84.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8305, allocations: 6.906 kB / 0.5865 GB, free: 84.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/0.8474, allocations: 10.07 MB / 0.5963 GB, free: 74.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/0.848, allocations: 313.6 kB / 0.5966 GB, free: 74.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/0.8483, allocations: 35.98 kB / 0.5966 GB, free: 74.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.8497, allocations: 183.7 kB / 0.5968 GB, free: 74.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.8501, allocations: 112.8 kB / 0.5969 GB, free: 73.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.8503, allocations: 55.56 kB / 0.597 GB, free: 73.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001883/0.8522, allocations: 1.73 MB / 0.5987 GB, free: 72.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8522, allocations: 0 / 0.5987 GB, free: 72.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003349/0.8555, allocations: 0.8111 MB / 0.5995 GB, free: 71.39 MB / 462.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.0003911/0.8559, allocations: 165.1 kB / 0.5996 GB, free: 71.23 MB / 462.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.008161/0.8641, allocations: 6.269 MB / 0.6057 GB, free: 64.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8641, allocations: 0 / 0.6057 GB, free: 64.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004115/0.8682, allocations: 2.902 MB / 0.6086 GB, free: 61.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.87, allocations: 303.3 kB / 0.6089 GB, free: 61.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.8787, allocations: 7.278 MB / 0.616 GB, free: 54.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.8805, allocations: 2.322 MB / 0.6182 GB, free: 51.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002668/0.8832, allocations: 1.507 MB / 0.6197 GB, free: 50.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.8836, allocations: 195.3 kB / 0.6199 GB, free: 50.18 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8836, allocations: 4 kB / 0.6199 GB, free: 50.17 MB / 462.1 MB Notification: Performance of Templates: time 0.05231/0.9359, allocations: 38.53 MB / 0.6575 GB, free: 11.78 MB / 462.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