Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 109.7 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 50.81 kB / 300.6 MB, free: 6.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.08847, allocations: 49.44 MB / 350.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01399/0.1025, allocations: 14.03 MB / 364.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009006/0.1115, allocations: 4.409 MB / 368.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.1141, allocations: 51.88 kB / 368.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.1164, allocations: 0.8685 MB / 369.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.1198, allocations: 1.291 MB / 370.7 MB, free: 68 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1899/0.3096, allocations: 485.2 kB / 371.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006747/0.3164, allocations: 4.73 MB / 375.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.3185, allocations: 1.267 MB / 377.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3199, allocations: 0.7034 MB / 377.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.3218, allocations: 1.305 MB / 379.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000358/0.3222, allocations: 109.2 kB / 379.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.3241, allocations: 0.9653 MB / 380.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.3254, allocations: 1.08 MB / 381.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.3268, allocations: 1.242 MB / 382.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.3304, allocations: 3.424 MB / 386 MB, free: 7.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3304, allocations: 0 / 386 MB, free: 7.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3304, allocations: 1.438 kB / 386 MB, free: 7.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.3305, allocations: 0 / 386 MB, free: 7.273 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.00901/0.3395, allocations: 3.262 MB / 389.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.3396, allocations: 9.531 kB / 389.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005817/0.3454, allocations: 1.658 MB / 390.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.3483, allocations: 1.496 MB / 392.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.3485, allocations: 127.3 kB / 392.5 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003359/0.3488, allocations: 174.1 kB / 392.7 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008217/0.357, allocations: 6.596 MB / 399.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.246e-05/0.3571, allocations: 32.03 kB / 399.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.3574, allocations: 94.78 kB / 399.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/0.3593, allocations: 1.328 MB / 400.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.3694, allocations: 5.836 MB / 406.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03408/0.4035, allocations: 28.07 MB / 434.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006183/0.4097, allocations: 2.744 MB / 437.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.4114, allocations: 1.27 MB / 438.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/0.4122, allocations: 0.6345 MB / 439.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.11e-05/0.4123, allocations: 55.05 kB / 439.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.819e-06/0.4123, allocations: 0 / 439.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07494/0.4873, allocations: 20.54 MB / 459.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.4874, allocations: 153.4 kB / 460.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/0.493, allocations: 2.83 MB / 462.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003222/0.4933, allocations: 49.7 kB / 462.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.495, allocations: 2.107 MB / 465 MB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008428/0.4959, allocations: 0.6074 MB / 465.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002248/0.4981, allocations: 0.9997 MB / 466.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4983, allocations: 301.1 kB / 466.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/0.5019, allocations: 2.227 MB / 469.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005813/0.5077, allocations: 5.192 MB / 474.4 MB, free: 1.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009764/0.5175, allocations: 7.977 MB / 482.3 MB, free: 7.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/0.5176, allocations: 32 kB / 482.4 MB, free: 7.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02453/0.5422, allocations: 10.31 MB / 492.7 MB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.5423, allocations: 48.94 kB / 492.7 MB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/0.5425, allocations: 109.9 kB / 492.8 MB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/0.5545, allocations: 3.427 MB / 496.3 MB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003922/0.5584, allocations: 1.107 MB / 497.4 MB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.5778, allocations: 11.99 MB / 0.4974 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/0.5824, allocations: 335.4 kB / 0.4978 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/0.5834, allocations: 311.9 kB / 0.4981 GB, free: 12.09 MB / 430.1 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 (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.00352/0.587, allocations: 1.465 MB / 0.4995 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008246/0.5878, allocations: 248.8 kB / 0.4997 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/0.6048, allocations: 6.005 MB / 0.5056 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.864e-05/0.6049, allocations: 16 kB / 0.5056 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.253e-05/0.6049, allocations: 8 kB / 0.5056 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/0.605, allocations: 7.984 kB / 0.5056 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03182/0.6368, allocations: 13.19 MB / 0.5185 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.6369, allocations: 0 / 0.5185 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.6381, allocations: 235.7 kB / 0.5187 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/0.6514, allocations: 4.003 MB / 0.5226 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004136/0.6519, allocations: 47.95 kB / 0.5227 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2227/0.8746, allocations: 12.02 MB / 0.5344 GB, free: 147.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.8747, allocations: 1.75 kB / 0.5344 GB, free: 147.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/0.8954, allocations: 9.893 MB / 0.5441 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008233/0.8963, allocations: 297.8 kB / 0.5444 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.8967, allocations: 34.61 kB / 0.5444 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.8982, allocations: 190.2 kB / 0.5446 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/0.8987, allocations: 110.9 kB / 0.5447 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.8989, allocations: 46.59 kB / 0.5447 GB, free: 144.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002296/0.9012, allocations: 1.754 MB / 0.5464 GB, free: 144 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9012, allocations: 0 / 0.5464 GB, free: 144 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003664/0.9048, allocations: 0.8307 MB / 0.5472 GB, free: 143.9 MB / 446.1 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 (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.0004293/0.9053, allocations: 172.9 kB / 0.5474 GB, free: 143.8 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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.008451/0.9137, allocations: 6.229 MB / 0.5535 GB, free: 141.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.9138, allocations: 3.094 kB / 0.5535 GB, free: 141.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004354/0.9181, allocations: 2.866 MB / 0.5563 GB, free: 139.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.9202, allocations: 283.8 kB / 0.5566 GB, free: 139 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.9305, allocations: 8.823 MB / 0.5652 GB, free: 131 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.9323, allocations: 2.31 MB / 0.5674 GB, free: 128.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/0.933, allocations: 227.4 kB / 0.5677 GB, free: 128.4 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.933, allocations: 0 / 0.5677 GB, free: 128.4 MB / 446.1 MB Notification: Performance of Templates: time 0.3004/1.233, allocations: 129 MB / 0.6937 GB, free: 145.6 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches