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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.1e-05, allocations: 6.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00899/0.009021, allocations: 6.261 MB / 305.2 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006332/0.01535, allocations: 2.968 MB / 308.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007136/0.01607, allocations: 39.81 kB / 308.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.01824, allocations: 0.9183 MB / 309.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003974/0.02222, allocations: 1.447 MB / 310.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.02364, allocations: 0.5847 MB / 311.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005629/0.02927, allocations: 4.026 MB / 315.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.03173, allocations: 1.804 MB / 317 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.03418, allocations: 1.442 MB / 318.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/0.03717, allocations: 1.707 MB / 320.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004244/0.0376, allocations: 184 kB / 320.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.03944, allocations: 0.9241 MB / 321.3 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.04101, allocations: 1.208 MB / 322.5 MB, free: 1.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.04227, allocations: 0.7476 MB / 323.2 MB, free: 376 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1629/0.2052, allocations: 4.489 MB / 327.7 MB, free: 20.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2052, allocations: 0 / 327.7 MB, free: 20.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2052, allocations: 0 / 327.7 MB, free: 20.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001212/0.2053, allocations: 4.078 kB / 327.7 MB, free: 20.54 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.01179/0.2171, allocations: 3.305 MB / 331 MB, free: 19.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2172, allocations: 16.73 kB / 331 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.2272, allocations: 1.733 MB / 332.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005757/0.2329, allocations: 1.487 MB / 334.2 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.2331, allocations: 131 kB / 334.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008582/0.234, allocations: 171.7 kB / 334.5 MB, free: 18.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.248, allocations: 6.596 MB / 341.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.2481, allocations: 35.45 kB / 341.2 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002999/0.2484, allocations: 89.3 kB / 341.3 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001889/0.2503, allocations: 1.324 MB / 342.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00987/0.2601, allocations: 5.772 MB / 348.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.2916, allocations: 26.7 MB / 375.1 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00637/0.298, allocations: 2.299 MB / 377.4 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.2997, allocations: 1.223 MB / 378.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.3002, allocations: 186.2 kB / 378.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.3002, allocations: 51.47 kB / 378.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=129): time 3.427e-06/0.3002, allocations: 0 / 378.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=163): time 0.07831/0.3785, allocations: 21.37 MB / 400.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.3786, allocations: 169.8 kB / 400.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/0.3832, allocations: 2.799 MB / 403.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.3836, allocations: 45.7 kB / 403.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.3853, allocations: 2.165 MB / 405.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009222/0.3862, allocations: 0.6523 MB / 406 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/0.3879, allocations: 0.9927 MB / 407 MB, free: 2.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3881, allocations: 349.9 kB / 407.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/0.3918, allocations: 2.229 MB / 409.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006294/0.3981, allocations: 5.155 MB / 414.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.4092, allocations: 7.964 MB / 422.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.814e-05/0.4093, allocations: 28 kB / 422.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02721/0.4365, allocations: 10.26 MB / 433 MB, free: 5.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/0.4366, allocations: 50.19 kB / 433 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.4367, allocations: 104 kB / 433.1 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/0.4496, allocations: 3.435 MB / 436.6 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/0.4535, allocations: 1.088 MB / 437.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.4761, allocations: 12.63 MB / 450.3 MB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/0.4816, allocations: 371.4 kB / 450.6 MB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/0.4827, allocations: 306.3 kB / 450.9 MB, free: 3.496 MB / 398.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.00369/0.4864, allocations: 1.463 MB / 452.4 MB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000727/0.4871, allocations: 238.4 kB / 452.6 MB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/0.5046, allocations: 5.949 MB / 458.6 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-05/0.5047, allocations: 28 kB / 458.6 MB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/0.5047, allocations: 11.94 kB / 458.6 MB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.5048, allocations: 12.09 kB / 458.6 MB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03193/0.5367, allocations: 12.54 MB / 471.2 MB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/0.5367, allocations: 0 / 471.2 MB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.538, allocations: 231.7 kB / 471.4 MB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01396/0.5519, allocations: 4.015 MB / 475.4 MB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004785/0.5524, allocations: 39.97 kB / 475.5 MB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1859/0.7383, allocations: 12.62 MB / 488.1 MB, free: 144.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.7383, allocations: 0 / 488.1 MB, free: 144.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02119/0.7595, allocations: 10.05 MB / 498.1 MB, free: 142.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.7608, allocations: 241 kB / 498.4 MB, free: 142 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005591/0.7614, allocations: 35.33 kB / 498.4 MB, free: 142 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.7632, allocations: 222.4 kB / 498.6 MB, free: 142 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004353/0.7636, allocations: 122.9 kB / 498.7 MB, free: 142 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.7638, allocations: 53.81 kB / 498.8 MB, free: 142 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002382/0.7662, allocations: 1.611 MB / 0.4887 GB, free: 141.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7662, allocations: 0 / 0.4887 GB, free: 141.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004342/0.7705, allocations: 0.929 MB / 0.4896 GB, free: 141.3 MB / 430.1 MB 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.0005677/0.7711, allocations: 187.6 kB / 0.4898 GB, free: 141.2 MB / 430.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.009353/0.7805, allocations: 5.566 MB / 0.4952 GB, free: 139.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/0.7805, allocations: 0 / 0.4952 GB, free: 139.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00457/0.785, allocations: 2.267 MB / 0.4974 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.7874, allocations: 262.4 kB / 0.4977 GB, free: 138.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.7982, allocations: 7.225 MB / 0.5047 GB, free: 132.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.7999, allocations: 1.761 MB / 0.5064 GB, free: 130.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002637/0.8026, allocations: 1.492 MB / 0.5079 GB, free: 128.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.8031, allocations: 180.4 kB / 0.5081 GB, free: 128.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.263e-06/0.8031, allocations: 4 kB / 0.5081 GB, free: 128.7 MB / 430.1 MB Notification: Performance of Templates: time 0.05367/0.8567, allocations: 39.47 MB / 0.5466 GB, free: 89.14 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.795600760728121]