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.001844/0.001844, allocations: 68.08 kB / 21.24 MB, free: 0.5391 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.002189/0.002189, allocations: 148.9 kB / 24.49 MB, free: 3.707 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.417/1.417, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.001536/0.001536, allocations: 47.64 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09158, allocations: 52.16 MB / 371.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008251/0.09983, allocations: 6.255 MB / 377.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005695/0.1055, allocations: 2.967 MB / 380.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/0.106, allocations: 35.88 kB / 380.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.108, allocations: 0.8912 MB / 381.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.1109, allocations: 1.405 MB / 383.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1119, allocations: 0.5225 MB / 383.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.1151, allocations: 2.723 MB / 386.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.1165, allocations: 1.247 MB / 387.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009873/0.1175, allocations: 0.8759 MB / 388.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.1201, allocations: 2.1 MB / 390.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.1205, allocations: 180 kB / 390.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.122, allocations: 0.8774 MB / 391.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.1231, allocations: 1.157 MB / 392.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.1241, allocations: 0.951 MB / 393.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.1289, allocations: 4.443 MB / 398.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1289, allocations: 7.938 kB / 398.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1289, allocations: 4 kB / 398.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.174e-05/0.1289, allocations: 0 / 398.2 MB, free: 12.58 MB / 366.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.006677/0.1356, allocations: 3.275 MB / 401.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1356, allocations: 8.922 kB / 401.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/0.1419, allocations: 1.735 MB / 403.2 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/0.1453, allocations: 1.48 MB / 404.7 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.1454, allocations: 127.2 kB / 404.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.1457, allocations: 167.9 kB / 405 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009735/0.1555, allocations: 6.594 MB / 411.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-05/0.1555, allocations: 35.7 kB / 411.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.1558, allocations: 83.89 kB / 411.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002108/0.1579, allocations: 1.327 MB / 413 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009764/0.1677, allocations: 5.765 MB / 418.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.1989, allocations: 26.6 MB / 445.4 MB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006218/0.2052, allocations: 2.291 MB / 447.7 MB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.2068, allocations: 1.22 MB / 448.9 MB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.2073, allocations: 192.1 kB / 449.1 MB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.183e-05/0.2074, allocations: 51 kB / 449.2 MB, free: 8.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.667e-06/0.2074, allocations: 0 / 449.2 MB, free: 8.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07639/0.2838, allocations: 21.27 MB / 470.4 MB, free: 2.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.2839, allocations: 167.2 kB / 470.6 MB, free: 2.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1752/0.4591, allocations: 2.66 MB / 473.2 MB, free: 90.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003622/0.4594, allocations: 48.22 kB / 473.3 MB, free: 90.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.4611, allocations: 2.189 MB / 475.5 MB, free: 89.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/0.4617, allocations: 0.6576 MB / 476.1 MB, free: 89.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/0.4631, allocations: 1.006 MB / 477.1 MB, free: 89.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4632, allocations: 355.6 kB / 477.5 MB, free: 88.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/0.4665, allocations: 2.227 MB / 479.7 MB, free: 88.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00503/0.4715, allocations: 5.161 MB / 484.9 MB, free: 83.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00744/0.479, allocations: 7.965 MB / 492.8 MB, free: 77.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.576e-05/0.4791, allocations: 30.56 kB / 492.9 MB, free: 77.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01985/0.4989, allocations: 10.26 MB / 0.4913 GB, free: 73.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.499, allocations: 48 kB / 0.4914 GB, free: 73.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.277e-05/0.4991, allocations: 100 kB / 0.4915 GB, free: 73.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.5097, allocations: 3.426 MB / 0.4948 GB, free: 70.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/0.5127, allocations: 1.088 MB / 0.4959 GB, free: 68.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/0.5281, allocations: 12.59 MB / 0.5082 GB, free: 56.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003757/0.5319, allocations: 337.2 kB / 0.5085 GB, free: 55.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004663/0.5323, allocations: 304 kB / 0.5088 GB, free: 55.67 MB / 430.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.001758/0.5341, allocations: 1.467 MB / 0.5102 GB, free: 54.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.5345, allocations: 250 kB / 0.5105 GB, free: 53.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/0.5483, allocations: 5.941 MB / 0.5163 GB, free: 48.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/0.5484, allocations: 31.98 kB / 0.5163 GB, free: 47.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.5484, allocations: 8 kB / 0.5163 GB, free: 47.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.5484, allocations: 11.97 kB / 0.5163 GB, free: 47.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/0.5731, allocations: 12.46 MB / 0.5285 GB, free: 35.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/0.5731, allocations: 0 / 0.5285 GB, free: 35.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.5742, allocations: 233 kB / 0.5287 GB, free: 35.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01154/0.5857, allocations: 4.011 MB / 0.5326 GB, free: 31.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/0.586, allocations: 39.97 kB / 0.5327 GB, free: 31.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/0.6013, allocations: 12.58 MB / 0.5449 GB, free: 18.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6013, allocations: 0 / 0.5449 GB, free: 18.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/0.6192, allocations: 10.05 MB / 0.5548 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000546/0.6197, allocations: 220.9 kB / 0.555 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.62, allocations: 35.98 kB / 0.555 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.6215, allocations: 187.7 kB / 0.5552 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/0.6219, allocations: 116.8 kB / 0.5553 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.622, allocations: 58.61 kB / 0.5554 GB, free: 7.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001665/0.6237, allocations: 1.508 MB / 0.5568 GB, free: 6.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6237, allocations: 1.594 kB / 0.5568 GB, free: 6.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003422/0.6271, allocations: 0.8202 MB / 0.5576 GB, free: 5.473 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.0003386/0.6275, allocations: 163.3 kB / 0.5578 GB, free: 5.309 MB / 430.1 MB [/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.008604/0.6361, allocations: 5.569 MB / 0.5632 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6361, allocations: 0 / 0.5632 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005274/0.6414, allocations: 2.28 MB / 0.5654 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.6431, allocations: 261.3 kB / 0.5657 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.6549, allocations: 7.392 MB / 0.5729 GB, free: 5.766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.6573, allocations: 1.753 MB / 0.5746 GB, free: 3.977 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003313/0.6606, allocations: 1.482 MB / 0.5761 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/0.6611, allocations: 180.4 kB / 0.5762 GB, free: 2.312 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6611, allocations: 4 kB / 0.5763 GB, free: 2.309 MB / 446.1 MB Notification: Performance of Templates: time 0.06624/0.7273, allocations: 37.92 MB / 0.6133 GB, free: 12.79 MB / 494.1 MB " [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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 6.353157900040969]