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.001579/0.001579, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001874/0.001875, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2305, allocations: 50.54 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.0073/0.2378, allocations: 7.004 MB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005174/0.243, allocations: 3.15 MB / 420.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005489/0.2436, allocations: 31.94 kB / 420.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.2454, allocations: 0.899 MB / 421 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.2479, allocations: 1.355 MB / 422.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.2488, allocations: 0.5069 MB / 422.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.2516, allocations: 2.762 MB / 425.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.2531, allocations: 1.326 MB / 427 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009524/0.254, allocations: 0.8641 MB / 427.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.2563, allocations: 2.128 MB / 430 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003542/0.2567, allocations: 180 kB / 430.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2582, allocations: 0.9555 MB / 431.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008782/0.2591, allocations: 1.114 MB / 432.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.2601, allocations: 1.297 MB / 433.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003726/0.2638, allocations: 4.373 MB / 437.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2638, allocations: 3.984 kB / 437.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2638, allocations: 4 kB / 437.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.381e-05/0.2639, allocations: 0 / 437.9 MB, free: 5.574 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.007246/0.2712, allocations: 3.351 MB / 441.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2712, allocations: 8.031 kB / 441.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005842/0.2771, allocations: 1.655 MB / 442.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.2796, allocations: 1.495 MB / 444.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.2797, allocations: 123.2 kB / 444.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.28, allocations: 175.8 kB / 444.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008539/0.2885, allocations: 6.596 MB / 451.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/0.2886, allocations: 31.75 kB / 451.3 MB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.2888, allocations: 87.89 kB / 451.4 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.2908, allocations: 1.323 MB / 452.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008944/0.2997, allocations: 5.839 MB / 458.6 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02684/0.3266, allocations: 27.95 MB / 486.5 MB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005918/0.3325, allocations: 2.794 MB / 489.3 MB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.334, allocations: 1.302 MB / 490.6 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.3347, allocations: 0.6356 MB / 491.2 MB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3347, allocations: 47.05 kB / 491.3 MB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.156e-06/0.3347, allocations: 0 / 491.3 MB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07042/0.4051, allocations: 21.02 MB / 0.5003 GB, free: 9.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.4053, allocations: 167.2 kB / 0.5005 GB, free: 9.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/0.4087, allocations: 2.783 MB / 0.5032 GB, free: 6.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.4089, allocations: 45.7 kB / 0.5032 GB, free: 6.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.4102, allocations: 2.075 MB / 0.5052 GB, free: 4.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005792/0.4108, allocations: 0.6247 MB / 0.5059 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.412, allocations: 0.9998 MB / 0.5068 GB, free: 2.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.4121, allocations: 305.1 kB / 0.5071 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.415, allocations: 2.239 MB / 0.5093 GB, free: 15.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004668/0.4197, allocations: 5.15 MB / 0.5143 GB, free: 9.266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008414/0.4281, allocations: 7.966 MB / 0.5221 GB, free: 15.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.136e-05/0.4282, allocations: 32 kB / 0.5222 GB, free: 15.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02227/0.4505, allocations: 10.29 MB / 0.5322 GB, free: 5.504 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.806e-05/0.4506, allocations: 52 kB / 0.5322 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.535e-05/0.4507, allocations: 107.9 kB / 0.5324 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/0.4623, allocations: 3.432 MB / 0.5357 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.4656, allocations: 1.084 MB / 0.5368 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2204/0.686, allocations: 12.84 MB / 0.5493 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/0.6896, allocations: 331.5 kB / 0.5496 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004139/0.69, allocations: 315.8 kB / 0.5499 GB, free: 116.4 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.001671/0.6917, allocations: 1.46 MB / 0.5513 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/0.6921, allocations: 255.5 kB / 0.5516 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.7064, allocations: 5.991 MB / 0.5574 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.798e-05/0.7065, allocations: 34.64 kB / 0.5575 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/0.7065, allocations: 7.688 kB / 0.5575 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.7065, allocations: 9.891 kB / 0.5575 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/0.7308, allocations: 13.21 MB / 0.5704 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.7309, allocations: 2.875 kB / 0.5704 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.7319, allocations: 228.6 kB / 0.5706 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01127/0.7432, allocations: 4.01 MB / 0.5745 GB, free: 97.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002668/0.7435, allocations: 47.25 kB / 0.5746 GB, free: 97.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.7592, allocations: 12.83 MB / 0.5871 GB, free: 84.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7592, allocations: 1.969 kB / 0.5871 GB, free: 84.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/0.777, allocations: 10.08 MB / 0.5969 GB, free: 74.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.7776, allocations: 309.6 kB / 0.5972 GB, free: 74.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.7779, allocations: 35.98 kB / 0.5973 GB, free: 74.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.7795, allocations: 187.7 kB / 0.5975 GB, free: 74.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000383/0.7799, allocations: 104.8 kB / 0.5976 GB, free: 74.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.7801, allocations: 59.95 kB / 0.5976 GB, free: 73.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001899/0.782, allocations: 1.73 MB / 0.5993 GB, free: 72.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.782, allocations: 0 / 0.5993 GB, free: 72.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003299/0.7853, allocations: 0.8107 MB / 0.6001 GB, free: 71.41 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.0003941/0.7857, allocations: 168.6 kB / 0.6003 GB, free: 71.24 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.008136/0.7938, allocations: 6.277 MB / 0.6064 GB, free: 64.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7938, allocations: 0 / 0.6064 GB, free: 64.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004194/0.798, allocations: 2.896 MB / 0.6092 GB, free: 61.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.7999, allocations: 299.3 kB / 0.6095 GB, free: 61.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/0.8087, allocations: 7.597 MB / 0.6169 GB, free: 53.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.8104, allocations: 2.322 MB / 0.6192 GB, free: 51.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/0.8111, allocations: 227.4 kB / 0.6194 GB, free: 51.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.8111, allocations: 4 kB / 0.6194 GB, free: 51.34 MB / 462.1 MB Notification: Performance of Templates: time 0.3073/1.118, allocations: 129.1 MB / 0.7455 GB, free: 175.5 MB / 0.5137 GB 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/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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches