Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001728/0.001728, allocations: 117.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002045/0.002045, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003121/0.003121, allocations: 67.88 kB / 373.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1154, allocations: 53.32 MB / 427.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2262/0.3416, allocations: 7.048 MB / 434.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.3467, allocations: 3.178 MB / 437.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008371/0.3476, allocations: 34.56 kB / 437.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.3494, allocations: 0.902 MB / 438.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.3526, allocations: 1.371 MB / 439.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3537, allocations: 0.5209 MB / 440.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003836/0.3576, allocations: 2.76 MB / 443 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.3591, allocations: 1.169 MB / 444.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.3605, allocations: 0.8587 MB / 445 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.3635, allocations: 2.254 MB / 447.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007914/0.3643, allocations: 181.8 kB / 447.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3669, allocations: 1.002 MB / 448.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.3683, allocations: 1.142 MB / 449.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.3697, allocations: 1.291 MB / 450.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005488/0.3752, allocations: 4.401 MB / 455.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3752, allocations: 9.5 kB / 455.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3752, allocations: 0 / 455.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000151/0.3753, allocations: 0 / 455.3 MB, free: 15.06 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.009905/0.3852, allocations: 3.423 MB / 458.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3853, allocations: 9.094 kB / 458.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00618/0.3915, allocations: 1.676 MB / 460.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.3949, allocations: 1.485 MB / 461.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.395, allocations: 135.3 kB / 462 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003463/0.3954, allocations: 171 kB / 462.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.4074, allocations: 6.59 MB / 468.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-05/0.4075, allocations: 30.19 kB / 468.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.4078, allocations: 93.42 kB / 468.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002236/0.41, allocations: 1.332 MB / 470.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.4214, allocations: 5.841 MB / 476 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0396/0.461, allocations: 28.01 MB / 0.4922 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006688/0.4677, allocations: 2.689 MB / 0.4949 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.4695, allocations: 1.233 MB / 0.4961 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009258/0.4704, allocations: 0.6317 MB / 0.4967 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.4705, allocations: 43.12 kB / 0.4967 GB, free: 13.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.767e-06/0.4705, allocations: 0 / 0.4967 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07756/0.548, allocations: 21.14 MB / 0.5174 GB, free: 8.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5481, allocations: 175.2 kB / 0.5175 GB, free: 8.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.5534, allocations: 2.792 MB / 0.5203 GB, free: 5.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003775/0.5538, allocations: 45.7 kB / 0.5203 GB, free: 5.254 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.556, allocations: 2.167 MB / 0.5224 GB, free: 3.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009787/0.557, allocations: 0.6512 MB / 0.5231 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002035/0.559, allocations: 1.008 MB / 0.524 GB, free: 1.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5592, allocations: 309.1 kB / 0.5243 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/0.5627, allocations: 2.235 MB / 0.5265 GB, free: 14.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006703/0.5694, allocations: 5.15 MB / 0.5316 GB, free: 8.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/0.5809, allocations: 7.97 MB / 0.5393 GB, free: 14.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.581, allocations: 32 kB / 0.5394 GB, free: 14.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02723/0.6082, allocations: 10.27 MB / 0.5494 GB, free: 4.488 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.6083, allocations: 52 kB / 0.5494 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/0.6085, allocations: 100 kB / 0.5495 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01248/0.621, allocations: 3.437 MB / 0.5529 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.6247, allocations: 1.088 MB / 0.554 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/0.6462, allocations: 12.84 MB / 0.5665 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/0.6504, allocations: 335.6 kB / 0.5668 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/0.6516, allocations: 308 kB / 0.5671 GB, free: 2.172 MB / 478.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.003615/0.6552, allocations: 1.459 MB / 0.5685 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008334/0.656, allocations: 258.3 kB / 0.5688 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/0.6735, allocations: 5.982 MB / 0.5746 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/0.6735, allocations: 28 kB / 0.5747 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/0.6735, allocations: 8.281 kB / 0.5747 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/0.6736, allocations: 12.62 kB / 0.5747 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03187/0.7054, allocations: 13.2 MB / 0.5876 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/0.7055, allocations: 3.938 kB / 0.5876 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.7066, allocations: 231.7 kB / 0.5878 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01323/0.7199, allocations: 4.01 MB / 0.5917 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003496/0.7202, allocations: 47.95 kB / 0.5917 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/0.7416, allocations: 12.83 MB / 0.6043 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.7416, allocations: 11.98 kB / 0.6043 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02306/0.7647, allocations: 10.06 MB / 0.6141 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008351/0.7655, allocations: 323 kB / 0.6144 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007024/0.7662, allocations: 35.98 kB / 0.6145 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/0.7683, allocations: 183.7 kB / 0.6146 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005481/0.7689, allocations: 116.8 kB / 0.6147 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/0.7691, allocations: 59.95 kB / 0.6148 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.2321/1.001, allocations: 1.722 MB / 0.6165 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.7e-07/1.001, allocations: 0 / 0.6165 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005544/1.007, allocations: 0.8132 MB / 0.6173 GB, free: 165.3 MB / 0.5137 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.0005495/1.007, allocations: 163.5 kB / 0.6174 GB, free: 165.3 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.01089/1.018, allocations: 6.024 MB / 0.6233 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.018, allocations: 0 / 0.6233 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005256/1.023, allocations: 2.72 MB / 0.626 GB, free: 163 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/1.026, allocations: 298.4 kB / 0.6263 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.039, allocations: 7.378 MB / 0.6335 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/1.042, allocations: 2.318 MB / 0.6357 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003988/1.046, allocations: 1.508 MB / 0.6372 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006669/1.046, allocations: 194.6 kB / 0.6374 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/1.046, allocations: 0 / 0.6374 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.05926/1.106, allocations: 39.73 MB / 0.6762 GB, free: 131.6 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.73594721313566]