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.0009623/0.0009622, allocations: 93.34 kB / 16.65 MB, free: 6.535 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.00103/0.00103, allocations: 170 kB / 17.56 MB, free: 6.184 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.393/1.393, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003188, allocations: 9.406 kB / 301.4 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 50.41 MB / 351.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01331/0.1226, allocations: 13.44 MB / 365.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008811/0.1315, allocations: 4.351 MB / 369.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.1338, allocations: 51.88 kB / 369.7 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1348, allocations: 270.8 kB / 369.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.1384, allocations: 1.289 MB / 371.2 MB, free: 12 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2292/0.3676, allocations: 482.1 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00741/0.375, allocations: 4.736 MB / 376.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003768/0.3788, allocations: 1.647 MB / 378.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.3808, allocations: 0.6602 MB / 378.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.3836, allocations: 1.246 MB / 380 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008133/0.3844, allocations: 84.41 kB / 380.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.3878, allocations: 0.9473 MB / 381 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002477/0.3903, allocations: 1.06 MB / 382.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003186/0.3935, allocations: 1.226 MB / 383.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005793/0.3993, allocations: 4.13 MB / 387.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3993, allocations: 0 / 387.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3994, allocations: 1 kB / 387.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001818/0.3995, allocations: 4 kB / 387.4 MB, free: 6.32 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.00787/0.4074, allocations: 2.727 MB / 390.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.4075, allocations: 10.41 kB / 390.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006792/0.4143, allocations: 1.707 MB / 391.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.4185, allocations: 1.494 MB / 393.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.4187, allocations: 129.4 kB / 393.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009153/0.4196, allocations: 173.8 kB / 393.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.4321, allocations: 6.61 MB / 400.3 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.4323, allocations: 28.5 kB / 400.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006784/0.433, allocations: 89.31 kB / 400.4 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002459/0.4354, allocations: 1.324 MB / 401.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.4475, allocations: 5.851 MB / 407.6 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03764/0.4852, allocations: 28.09 MB / 435.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006395/0.4916, allocations: 2.754 MB / 438.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.4933, allocations: 1.273 MB / 439.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006999/0.4941, allocations: 0.6373 MB / 440.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/0.4941, allocations: 47.12 kB / 440.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.967e-06/0.4942, allocations: 0 / 440.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07648/0.5707, allocations: 20.59 MB / 461 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.5708, allocations: 149.5 kB / 461.1 MB, free: 428 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/0.5761, allocations: 2.837 MB / 463.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004104/0.5766, allocations: 48.83 kB / 464 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001943/0.5785, allocations: 2.106 MB / 466.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.5796, allocations: 0.6065 MB / 466.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.5807, allocations: 412.7 kB / 467.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5808, allocations: 309.1 kB / 467.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/0.5847, allocations: 2.219 MB / 469.6 MB, free: 7.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006273/0.591, allocations: 5.185 MB / 474.8 MB, free: 1.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.6017, allocations: 7.995 MB / 482.8 MB, free: 7.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/0.6018, allocations: 28 kB / 482.8 MB, free: 7.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02654/0.6284, allocations: 10.33 MB / 493.2 MB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.6286, allocations: 52 kB / 493.2 MB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/0.6288, allocations: 108 kB / 493.3 MB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01317/0.642, allocations: 3.496 MB / 496.8 MB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/0.6459, allocations: 1.107 MB / 497.9 MB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.6654, allocations: 12.06 MB / 0.498 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/0.6696, allocations: 335.4 kB / 0.4983 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009003/0.6705, allocations: 308 kB / 0.4986 GB, free: 11.78 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.003353/0.6739, allocations: 1.469 MB / 0.5001 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/0.6745, allocations: 244.8 kB / 0.5003 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/0.6912, allocations: 6.035 MB / 0.5062 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/0.6913, allocations: 27.98 kB / 0.5062 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-05/0.6914, allocations: 8 kB / 0.5062 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.992e-05/0.6914, allocations: 3.984 kB / 0.5062 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0337/0.7251, allocations: 13.2 MB / 0.5191 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/0.7252, allocations: 7.938 kB / 0.5191 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.7264, allocations: 235.6 kB / 0.5194 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01373/0.7402, allocations: 4.131 MB / 0.5234 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004863/0.7407, allocations: 47.95 kB / 0.5234 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2393/0.98, allocations: 12.1 MB / 0.5353 GB, free: 147 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9801, allocations: 5.188 kB / 0.5353 GB, free: 147 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02197/1.002, allocations: 9.945 MB / 0.545 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009337/1.003, allocations: 302.9 kB / 0.5453 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/1.003, allocations: 36.83 kB / 0.5453 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/1.005, allocations: 186.2 kB / 0.5455 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004827/1.005, allocations: 109.5 kB / 0.5456 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/1.006, allocations: 51.67 kB / 0.5456 GB, free: 143.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002517/1.008, allocations: 1.756 MB / 0.5473 GB, free: 143.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.008, allocations: 0 / 0.5473 GB, free: 143.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003861/1.012, allocations: 0.833 MB / 0.5482 GB, free: 143.1 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.0004385/1.012, allocations: 166.5 kB / 0.5483 GB, free: 143 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.008726/1.021, allocations: 6.218 MB / 0.5544 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.021, allocations: 2.781 kB / 0.5544 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004718/1.026, allocations: 2.87 MB / 0.5572 GB, free: 138.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.029, allocations: 282.2 kB / 0.5575 GB, free: 138.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.039, allocations: 8.655 MB / 0.5659 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/1.041, allocations: 2.31 MB / 0.5682 GB, free: 127.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003126/1.044, allocations: 1.531 MB / 0.5697 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/1.045, allocations: 191.4 kB / 0.5698 GB, free: 126 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/1.045, allocations: 0 / 0.5698 GB, free: 126 MB / 446.1 MB Notification: Performance of Templates: time 0.05252/1.097, allocations: 39.17 MB / 0.6081 GB, free: 87.02 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/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches