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.001533/0.001533, allocations: 104.7 kB / 17.93 MB, free: 5.418 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.001743/0.001743, allocations: 189.9 kB / 18.85 MB, free: 4.5 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.373/1.373, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.001265/0.001265, allocations: 51.92 kB / 280.8 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09404, allocations: 46.63 MB / 327.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01488/0.109, allocations: 14.02 MB / 341.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009057/0.1181, allocations: 4.32 MB / 345.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.1204, allocations: 51.88 kB / 345.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.1224, allocations: 0.8452 MB / 346.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.1257, allocations: 1.285 MB / 348 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.1267, allocations: 0.4992 MB / 348.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004269/0.131, allocations: 3.535 MB / 352 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.1329, allocations: 1.403 MB / 353.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1341, allocations: 0.8368 MB / 354.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.1358, allocations: 1.386 MB / 355.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.1361, allocations: 176 kB / 355.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.1378, allocations: 0.9789 MB / 356.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.1388, allocations: 1.161 MB / 357.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.14, allocations: 1.324 MB / 359.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.1437, allocations: 3.458 MB / 362.7 MB, free: 1.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1437, allocations: 3.938 kB / 362.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1437, allocations: 4 kB / 362.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.038e-05/0.1438, allocations: 4 kB / 362.7 MB, free: 1.371 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.006808/0.1506, allocations: 3.261 MB / 366 MB, free: 14.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1507, allocations: 8.031 kB / 366 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/0.1563, allocations: 1.659 MB / 367.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.1595, allocations: 1.55 MB / 369.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.875e-05/0.1596, allocations: 131.1 kB / 369.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/0.1601, allocations: 171.8 kB / 369.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009782/0.1698, allocations: 6.596 MB / 376.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.444e-05/0.17, allocations: 31.66 kB / 376.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.1703, allocations: 87.89 kB / 376.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/0.1722, allocations: 1.339 MB / 377.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1968/0.369, allocations: 5.827 MB / 383.4 MB, free: 49.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02899/0.398, allocations: 28.07 MB / 411.4 MB, free: 28.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/0.4033, allocations: 2.741 MB / 414.2 MB, free: 26.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.4047, allocations: 1.281 MB / 415.5 MB, free: 25.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/0.4053, allocations: 0.6301 MB / 416.1 MB, free: 25.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4053, allocations: 47.06 kB / 416.1 MB, free: 25.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 5.029e-06/0.4054, allocations: 0 / 416.1 MB, free: 25.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06534/0.4707, allocations: 20.54 MB / 436.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.4708, allocations: 149.5 kB / 436.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003368/0.4742, allocations: 2.844 MB / 439.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004315/0.4746, allocations: 45.7 kB / 439.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.4759, allocations: 2.102 MB / 441.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009227/0.4768, allocations: 0.6075 MB / 442.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.4784, allocations: 1.004 MB / 443.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4785, allocations: 305.1 kB / 443.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/0.4817, allocations: 2.231 MB / 446 MB, free: 11.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005863/0.4876, allocations: 5.181 MB / 451.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009938/0.4976, allocations: 7.982 MB / 459.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/0.4977, allocations: 32 kB / 459.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02675/0.5245, allocations: 10.31 MB / 469.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.5246, allocations: 48 kB / 469.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/0.5248, allocations: 104 kB / 469.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.5372, allocations: 3.435 MB / 473.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/0.5414, allocations: 1.108 MB / 474.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/0.5622, allocations: 12.86 MB / 487 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/0.5664, allocations: 339.4 kB / 487.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008679/0.5673, allocations: 311.9 kB / 487.7 MB, free: 14.33 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.00316/0.5705, allocations: 1.469 MB / 489.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007272/0.5712, allocations: 244.8 kB / 489.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/0.5878, allocations: 6.002 MB / 495.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/0.5879, allocations: 20 kB / 495.4 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.282e-05/0.5879, allocations: 8 kB / 495.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-05/0.588, allocations: 7.984 kB / 495.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03187/0.6198, allocations: 13.19 MB / 0.4967 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.6199, allocations: 0 / 0.4967 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.6211, allocations: 231.6 kB / 0.4969 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/0.6339, allocations: 4.02 MB / 0.5008 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003946/0.6344, allocations: 47.95 kB / 0.5009 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.6541, allocations: 12.83 MB / 0.5134 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/0.6541, allocations: 4 kB / 0.5134 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2019/0.856, allocations: 9.888 MB / 0.5231 GB, free: 132.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008933/0.8569, allocations: 305.1 kB / 0.5233 GB, free: 132.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/0.8575, allocations: 38.05 kB / 0.5234 GB, free: 132.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/0.8595, allocations: 187.2 kB / 0.5236 GB, free: 132.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005147/0.86, allocations: 105.3 kB / 0.5237 GB, free: 132.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.8602, allocations: 46.48 kB / 0.5237 GB, free: 132.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002716/0.8629, allocations: 1.768 MB / 0.5254 GB, free: 132.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8629, allocations: 0 / 0.5254 GB, free: 132.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004392/0.8673, allocations: 0.8319 MB / 0.5262 GB, free: 132.5 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.0005218/0.8679, allocations: 167.9 kB / 0.5264 GB, free: 132.4 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.01233/0.8802, allocations: 6.773 MB / 0.533 GB, free: 129.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8802, allocations: 0 / 0.533 GB, free: 129.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005298/0.8855, allocations: 2.863 MB / 0.5358 GB, free: 128.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.8882, allocations: 306 kB / 0.5361 GB, free: 128.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.9006, allocations: 8.837 MB / 0.5447 GB, free: 123.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.9024, allocations: 2.317 MB / 0.547 GB, free: 122.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/0.9031, allocations: 237.3 kB / 0.5472 GB, free: 122.6 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.9031, allocations: 0 / 0.5472 GB, free: 122.6 MB / 414.1 MB Notification: Performance of Templates: time 0.102/1.005, allocations: 129.1 MB / 0.6733 GB, free: 12.94 MB / 430.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/jenkins1/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