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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 247 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 51.86 kB / 358.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 49.43 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008588/0.1122, allocations: 7.042 MB / 415.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006057/0.1183, allocations: 3.135 MB / 418.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.1192, allocations: 31.94 kB / 418.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.1212, allocations: 0.899 MB / 419.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.125, allocations: 1.366 MB / 420.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1262, allocations: 0.5264 MB / 421.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004096/0.1303, allocations: 2.727 MB / 423.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.1322, allocations: 1.318 MB / 425.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.1338, allocations: 0.8603 MB / 426 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003386/0.1372, allocations: 2.022 MB / 428 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006372/0.1379, allocations: 180 kB / 428.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.1399, allocations: 0.9751 MB / 429.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.1411, allocations: 1.126 MB / 430.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2225/0.3636, allocations: 1.301 MB / 431.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007275/0.3709, allocations: 4.443 MB / 436.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.371, allocations: 0 / 436.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.371, allocations: 0 / 436.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002049/0.3712, allocations: 2.391 kB / 436.1 MB, free: 7.535 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.01014/0.3813, allocations: 3.342 MB / 439.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3814, allocations: 9.969 kB / 439.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006908/0.3883, allocations: 1.669 MB / 441.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.3926, allocations: 1.522 MB / 442.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.3927, allocations: 128.4 kB / 442.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000776/0.3935, allocations: 170.9 kB / 442.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.4049, allocations: 6.603 MB / 449.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.92e-05/0.4051, allocations: 36.55 kB / 449.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.4054, allocations: 89 kB / 449.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.4075, allocations: 1.325 MB / 450.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.4181, allocations: 5.837 MB / 456.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03357/0.4518, allocations: 28.02 MB / 484.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006441/0.4582, allocations: 2.788 MB / 487.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.4601, allocations: 1.306 MB / 488.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/0.4609, allocations: 0.6316 MB / 489.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4609, allocations: 50.06 kB / 489.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 4.248e-06/0.4609, allocations: 0 / 489.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07305/0.534, allocations: 21.16 MB / 0.4988 GB, free: 1.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.5341, allocations: 167.2 kB / 0.4989 GB, free: 1.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/0.5387, allocations: 2.8 MB / 0.5017 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005375/0.5392, allocations: 49.7 kB / 0.5017 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/0.5411, allocations: 2.168 MB / 0.5038 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008962/0.542, allocations: 0.6532 MB / 0.5045 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.5436, allocations: 1.011 MB / 0.5054 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5437, allocations: 309.1 kB / 0.5057 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/0.5471, allocations: 2.23 MB / 0.5079 GB, free: 7.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006159/0.5533, allocations: 5.156 MB / 0.513 GB, free: 1.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.5637, allocations: 7.96 MB / 0.5207 GB, free: 8.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.076e-05/0.5639, allocations: 32 kB / 0.5208 GB, free: 8.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02528/0.5892, allocations: 10.31 MB / 0.5308 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.5893, allocations: 48 kB / 0.5309 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/0.5894, allocations: 104 kB / 0.531 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/0.6017, allocations: 3.423 MB / 0.5343 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/0.6055, allocations: 1.095 MB / 0.5354 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/0.6263, allocations: 12.86 MB / 0.5479 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/0.6304, allocations: 331.6 kB / 0.5483 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009092/0.6314, allocations: 310.3 kB / 0.5486 GB, free: 11.52 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.002769/0.6341, allocations: 1.466 MB / 0.55 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000641/0.6348, allocations: 262.3 kB / 0.5502 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/0.6514, allocations: 5.995 MB / 0.5561 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.963e-05/0.6515, allocations: 32 kB / 0.5561 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.6515, allocations: 8 kB / 0.5561 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/0.6516, allocations: 7.969 kB / 0.5561 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03047/0.682, allocations: 13.22 MB / 0.569 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/0.6821, allocations: 0 / 0.569 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6833, allocations: 231.7 kB / 0.5693 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01322/0.6965, allocations: 4.008 MB / 0.5732 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004223/0.697, allocations: 55.16 kB / 0.5732 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/0.7173, allocations: 12.82 MB / 0.5858 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7174, allocations: 3.938 kB / 0.5858 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02216/0.7396, allocations: 10.09 MB / 0.5956 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007511/0.7403, allocations: 327.7 kB / 0.5959 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005028/0.7409, allocations: 35.98 kB / 0.596 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.7425, allocations: 183.7 kB / 0.5961 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004352/0.743, allocations: 117.6 kB / 0.5962 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.7432, allocations: 51.97 kB / 0.5963 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002766/0.7459, allocations: 1.73 MB / 0.598 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7459, allocations: 3.938 kB / 0.598 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004082/0.75, allocations: 0.8241 MB / 0.5988 GB, free: 7.762 MB / 0.4981 GB 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.0004812/0.7505, allocations: 176 kB / 0.599 GB, free: 7.582 MB / 0.4981 GB [/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.0114/0.7619, allocations: 6.278 MB / 0.6051 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.762, allocations: 0 / 0.6051 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2097/0.9717, allocations: 2.893 MB / 0.6079 GB, free: 168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.9748, allocations: 295.9 kB / 0.6082 GB, free: 168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.9911, allocations: 7.698 MB / 0.6157 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003919/0.9951, allocations: 2.323 MB / 0.618 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009543/0.996, allocations: 226.7 kB / 0.6182 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.9961, allocations: 0 / 0.6182 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1097/1.106, allocations: 129.4 MB / 0.7446 GB, free: 49.12 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.589677797979675]