Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001172/0.001172, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001081/0.001081, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 48.34 kB / 280 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1565, allocations: 46.62 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.02315/0.1797, allocations: 14.02 MB / 340.6 MB, free: 6.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.1935, allocations: 4.414 MB / 345 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004643/0.1982, allocations: 51.88 kB / 345.1 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.2011, allocations: 0.8725 MB / 346 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.2051, allocations: 1.269 MB / 347.2 MB, free: 180 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.2065, allocations: 499.2 kB / 347.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006247/0.2128, allocations: 4.491 MB / 352.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.2151, allocations: 1.271 MB / 353.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.2167, allocations: 0.712 MB / 354.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.2188, allocations: 1.308 MB / 355.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005855/0.2194, allocations: 108 kB / 355.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.2215, allocations: 0.9554 MB / 356.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.2229, allocations: 1.083 MB / 357.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.2248, allocations: 1.246 MB / 358.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004331/0.2291, allocations: 4.206 MB / 363.1 MB, free: 256 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.2291, allocations: 3.938 kB / 363.1 MB, free: 252 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2291, allocations: 0 / 363.1 MB, free: 252 kB / 302.1 MB Notification: Performance of Transformations before backend: time 8.246e-05/0.2292, allocations: 0 / 363.1 MB, free: 252 kB / 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.006848/0.2361, allocations: 3.269 MB / 366.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2362, allocations: 16.02 kB / 366.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/0.2418, allocations: 1.659 MB / 368 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.245, allocations: 1.561 MB / 369.6 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.2451, allocations: 123.1 kB / 369.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.2455, allocations: 171.9 kB / 369.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009897/0.2554, allocations: 6.588 MB / 376.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.081e-05/0.2555, allocations: 39.66 kB / 376.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/0.2558, allocations: 83.89 kB / 376.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001923/0.2577, allocations: 1.335 MB / 377.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1676/0.4253, allocations: 5.827 MB / 383.8 MB, free: 49.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/0.4522, allocations: 28.08 MB / 411.8 MB, free: 28.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004996/0.4572, allocations: 2.741 MB / 414.6 MB, free: 26.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.4584, allocations: 1.273 MB / 415.8 MB, free: 25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000483/0.4589, allocations: 0.6347 MB / 416.5 MB, free: 24.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.4589, allocations: 54.33 kB / 416.5 MB, free: 24.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 3.176e-06/0.4589, allocations: 0 / 416.5 MB, free: 24.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06484/0.5238, allocations: 20.55 MB / 437.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.5238, allocations: 145.5 kB / 437.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.5269, allocations: 2.84 MB / 440.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.5272, allocations: 49.7 kB / 440.1 MB, free: 488 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.5285, allocations: 2.11 MB / 442.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006315/0.5291, allocations: 0.6012 MB / 442.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/0.5305, allocations: 1.004 MB / 443.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.5306, allocations: 309.1 kB / 444.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/0.5338, allocations: 2.219 MB / 446.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005013/0.5388, allocations: 5.193 MB / 451.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009169/0.548, allocations: 7.978 MB / 459.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.968e-05/0.5481, allocations: 32 kB / 459.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02326/0.5714, allocations: 10.31 MB / 469.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/0.5715, allocations: 48 kB / 469.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.579e-05/0.5716, allocations: 108.8 kB / 470 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/0.5836, allocations: 3.423 MB / 473.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003882/0.5876, allocations: 1.103 MB / 474.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.6082, allocations: 12.01 MB / 486.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00483/0.613, allocations: 339.4 kB / 486.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/0.6141, allocations: 304 kB / 487.2 MB, free: 14.24 MB / 382.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.003042/0.6171, allocations: 1.473 MB / 488.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005919/0.6177, allocations: 248.8 kB / 488.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/0.6336, allocations: 6.005 MB / 494.9 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.63e-05/0.6337, allocations: 16 kB / 494.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.623e-05/0.6337, allocations: 8 kB / 494.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/0.6338, allocations: 7.969 kB / 494.9 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04604/0.6798, allocations: 13.2 MB / 0.4962 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.251e-05/0.6799, allocations: 0.625 kB / 0.4962 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/0.6824, allocations: 235.7 kB / 0.4964 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0251/0.7075, allocations: 4.012 MB / 0.5004 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004936/0.708, allocations: 49.27 kB / 0.5004 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03581/0.7439, allocations: 12.01 MB / 0.5121 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7439, allocations: 0 / 0.5121 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2081/0.9521, allocations: 9.892 MB / 0.5218 GB, free: 133.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/0.953, allocations: 304.5 kB / 0.5221 GB, free: 133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/0.9535, allocations: 33 kB / 0.5221 GB, free: 133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/0.9553, allocations: 186.7 kB / 0.5223 GB, free: 133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005728/0.9559, allocations: 110.4 kB / 0.5224 GB, free: 133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.9561, allocations: 52.05 kB / 0.5225 GB, free: 133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003238/0.9593, allocations: 1.764 MB / 0.5242 GB, free: 132.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9594, allocations: 0 / 0.5242 GB, free: 132.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004375/0.9637, allocations: 0.8261 MB / 0.525 GB, free: 132.8 MB / 414.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.0004685/0.9642, allocations: 164.2 kB / 0.5251 GB, free: 132.8 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.01184/0.9761, allocations: 6.226 MB / 0.5312 GB, free: 130.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.9761, allocations: 0 / 0.5312 GB, free: 130.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005079/0.9812, allocations: 2.861 MB / 0.534 GB, free: 128.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.9833, allocations: 287.5 kB / 0.5343 GB, free: 128.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.9956, allocations: 8.528 MB / 0.5426 GB, free: 124.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.9976, allocations: 2.326 MB / 0.5449 GB, free: 123.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003479/1.001, allocations: 1.524 MB / 0.5464 GB, free: 123.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/1.002, allocations: 184.9 kB / 0.5466 GB, free: 123.1 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/1.002, allocations: 0 / 0.5466 GB, free: 123.1 MB / 414.1 MB Notification: Performance of Templates: time 0.05395/1.056, allocations: 39.71 MB / 0.5853 GB, free: 86.91 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches