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.001235/0.001235, allocations: 98.98 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 192.7 kB / 17.91 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002254, allocations: 11.98 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.0904, allocations: 51.52 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01248/0.1029, allocations: 12.49 MB / 371.1 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1808/0.2837, allocations: 4.053 MB / 375.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.2859, allocations: 52.22 kB / 375.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2873, allocations: 0.5943 MB / 375.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004945/0.2923, allocations: 2.14 MB / 378 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009726/0.2933, allocations: 433.5 kB / 378.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03907/0.3324, allocations: 31.36 MB / 409.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003116/0.3355, allocations: 1.528 MB / 411.3 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.3372, allocations: 0.7316 MB / 412 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.3392, allocations: 1.227 MB / 413.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.3396, allocations: 88 kB / 413.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.3415, allocations: 0.7683 MB / 414.1 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.3427, allocations: 1.021 MB / 415.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.3433, allocations: 0.4962 MB / 415.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.3464, allocations: 3.307 MB / 418.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3464, allocations: 4 kB / 418.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3464, allocations: 0 / 418.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.747e-05/0.3465, allocations: 0 / 418.9 MB, free: 14.8 MB / 334.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.005853/0.3523, allocations: 2.851 MB / 421.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3524, allocations: 17.23 kB / 421.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005319/0.3577, allocations: 1.704 MB / 423.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.3599, allocations: 1.441 MB / 424.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.066e-05/0.36, allocations: 131.1 kB / 425.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.3603, allocations: 175.8 kB / 425.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008379/0.3687, allocations: 6.594 MB / 431.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.383e-05/0.3688, allocations: 35.73 kB / 431.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.369, allocations: 87.89 kB / 431.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001799/0.3708, allocations: 1.327 MB / 433.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009142/0.38, allocations: 5.812 MB / 439.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02944/0.4094, allocations: 28.09 MB / 467.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/0.4152, allocations: 2.752 MB / 469.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.4168, allocations: 1.26 MB / 471.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.4175, allocations: 0.6356 MB / 471.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.4176, allocations: 51.06 kB / 471.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=120): time 2.846e-06/0.4176, allocations: 0 / 471.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.06653/0.4841, allocations: 20.56 MB / 492.4 MB, free: 3.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.4842, allocations: 141.5 kB / 492.6 MB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/0.488, allocations: 2.816 MB / 495.4 MB, free: 444 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.4883, allocations: 45.7 kB / 495.4 MB, free: 392 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.4899, allocations: 2.106 MB / 497.5 MB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007108/0.4906, allocations: 0.5978 MB / 498.1 MB, free: 13.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.4909, allocations: 99.98 kB / 498.2 MB, free: 13.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002908/0.4912, allocations: 0.5166 MB / 498.7 MB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.4943, allocations: 2.2 MB / 0.4892 GB, free: 10.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005186/0.4995, allocations: 5.173 MB / 0.4943 GB, free: 4.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/0.504, allocations: 3.316 MB / 0.4975 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.945e-05/0.5041, allocations: 28 kB / 0.4975 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02121/0.5253, allocations: 10.29 MB / 0.5076 GB, free: 6.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.5254, allocations: 56.25 kB / 0.5076 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.172e-05/0.5255, allocations: 107.9 kB / 0.5077 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.5365, allocations: 3.513 MB / 0.5112 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.5397, allocations: 1.103 MB / 0.5122 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.5582, allocations: 12.04 MB / 0.524 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/0.5618, allocations: 335.4 kB / 0.5243 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006386/0.5624, allocations: 308 kB / 0.5246 GB, free: 4.875 MB / 446.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 (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002491/0.5649, allocations: 1.466 MB / 0.526 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.5654, allocations: 244.8 kB / 0.5263 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2036/0.769, allocations: 6.016 MB / 0.5321 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/0.7691, allocations: 17.28 kB / 0.5322 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/0.7691, allocations: 8.531 kB / 0.5322 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-05/0.7691, allocations: 8 kB / 0.5322 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/0.7953, allocations: 13.21 MB / 0.5451 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.7954, allocations: 0.9688 kB / 0.5451 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009955/0.7964, allocations: 229.9 kB / 0.5453 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/0.8076, allocations: 4.13 MB / 0.5493 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/0.8079, allocations: 48.78 kB / 0.5494 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.8225, allocations: 12.08 MB / 0.5612 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8225, allocations: 7.781 kB / 0.5612 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.8391, allocations: 9.923 MB / 0.5709 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.8396, allocations: 309.8 kB / 0.5712 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.8399, allocations: 32 kB / 0.5712 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.8413, allocations: 195.2 kB / 0.5714 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.8416, allocations: 112.7 kB / 0.5715 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.8418, allocations: 49.06 kB / 0.5715 GB, free: 123.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.8438, allocations: 1.737 MB / 0.5732 GB, free: 121.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.252e-06/0.8438, allocations: 0 / 0.5732 GB, free: 121.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0033/0.8471, allocations: 0.8326 MB / 0.5741 GB, free: 120.6 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 (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003405/0.8475, allocations: 153.8 kB / 0.5742 GB, free: 120.5 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.007835/0.8553, allocations: 6.2 MB / 0.5803 GB, free: 114.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.8554, allocations: 4 kB / 0.5803 GB, free: 114.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003766/0.8591, allocations: 2.854 MB / 0.583 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.8606, allocations: 281.9 kB / 0.5833 GB, free: 111 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/0.8693, allocations: 8.385 MB / 0.5915 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.871, allocations: 2.315 MB / 0.5938 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002965/0.874, allocations: 1.527 MB / 0.5953 GB, free: 98.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.8744, allocations: 187.4 kB / 0.5954 GB, free: 98.51 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8744, allocations: 0 / 0.5954 GB, free: 98.51 MB / 446.1 MB Notification: Performance of Templates: time 0.04506/0.9195, allocations: 38.39 MB / 0.6329 GB, free: 60.24 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