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.001334/0.001334, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001754/0.001754, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.496/1.496, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.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.001924/0.001924, allocations: 57.12 kB / 325.5 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09581, allocations: 53.39 MB / 378.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008278/0.1041, allocations: 6.237 MB / 385.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.1097, allocations: 2.982 MB / 388.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005306/0.1103, allocations: 35.88 kB / 388.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.1121, allocations: 0.8795 MB / 389.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.115, allocations: 1.382 MB / 390.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.116, allocations: 0.5147 MB / 390.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003354/0.1193, allocations: 2.766 MB / 393.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.1207, allocations: 1.227 MB / 394.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.1218, allocations: 0.8758 MB / 395.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.1245, allocations: 2.213 MB / 398 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003568/0.1249, allocations: 184 kB / 398.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.1265, allocations: 0.8696 MB / 399.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.1276, allocations: 1.137 MB / 400.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.1286, allocations: 0.9394 MB / 401.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004615/0.1332, allocations: 4.404 MB / 405.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1332, allocations: 0 / 405.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1332, allocations: 3.938 kB / 405.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.985e-05/0.1333, allocations: 0 / 405.6 MB, free: 4.684 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.007427/0.1407, allocations: 3.361 MB / 408.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1408, allocations: 12.03 kB / 408.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006087/0.1468, allocations: 1.742 MB / 410.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.1497, allocations: 1.442 MB / 412.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.1498, allocations: 127.2 kB / 412.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.1502, allocations: 175.8 kB / 412.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009848/0.16, allocations: 6.594 MB / 419 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/0.1601, allocations: 31.7 kB / 419 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.1603, allocations: 91.91 kB / 419.1 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.1624, allocations: 1.327 MB / 420.5 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.1725, allocations: 5.765 MB / 426.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0307/0.2032, allocations: 26.59 MB / 452.8 MB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006007/0.2092, allocations: 2.283 MB / 455.1 MB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.2109, allocations: 1.23 MB / 456.3 MB, free: 408 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/0.2114, allocations: 188.1 kB / 456.5 MB, free: 220 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.2114, allocations: 47.06 kB / 456.6 MB, free: 164 kB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.236e-06/0.2114, allocations: 0 / 456.6 MB, free: 164 kB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.2666/0.478, allocations: 21.26 MB / 477.8 MB, free: 83.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.4781, allocations: 177.2 kB / 478 MB, free: 83.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.4816, allocations: 2.657 MB / 480.6 MB, free: 82.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.4819, allocations: 47.02 kB / 480.7 MB, free: 82.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.4829, allocations: 2.182 MB / 482.9 MB, free: 80.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.4834, allocations: 0.6531 MB / 483.5 MB, free: 80.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.4846, allocations: 1.009 MB / 484.5 MB, free: 79.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.4847, allocations: 353.7 kB / 484.9 MB, free: 79.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/0.4874, allocations: 2.23 MB / 487.1 MB, free: 78.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/0.491, allocations: 5.154 MB / 492.3 MB, free: 74.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006386/0.4974, allocations: 7.979 MB / 0.4885 GB, free: 67.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-05/0.4975, allocations: 29.53 kB / 0.4886 GB, free: 67.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01986/0.5174, allocations: 10.25 MB / 0.4986 GB, free: 59.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/0.5174, allocations: 52 kB / 0.4986 GB, free: 59.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.617e-05/0.5175, allocations: 100 kB / 0.4987 GB, free: 59.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.5279, allocations: 3.426 MB / 0.5021 GB, free: 55.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.531, allocations: 1.088 MB / 0.5031 GB, free: 54.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/0.5461, allocations: 12.58 MB / 0.5154 GB, free: 42.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/0.5499, allocations: 343.4 kB / 0.5157 GB, free: 41.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/0.5504, allocations: 304 kB / 0.516 GB, free: 41.5 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.0019/0.5523, allocations: 1.462 MB / 0.5175 GB, free: 40.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000538/0.5529, allocations: 234.5 kB / 0.5177 GB, free: 39.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.5666, allocations: 5.955 MB / 0.5235 GB, free: 33.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/0.5666, allocations: 28.77 kB / 0.5235 GB, free: 33.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.5667, allocations: 12 kB / 0.5235 GB, free: 33.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.5667, allocations: 7.969 kB / 0.5235 GB, free: 33.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/0.5909, allocations: 12.45 MB / 0.5357 GB, free: 21.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.5909, allocations: 4 kB / 0.5357 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009909/0.5919, allocations: 235.5 kB / 0.5359 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0111/0.603, allocations: 4.011 MB / 0.5398 GB, free: 17.06 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.6032, allocations: 47.95 kB / 0.5399 GB, free: 17.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02026/0.6235, allocations: 12.57 MB / 0.5522 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6235, allocations: 7.875 kB / 0.5522 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02869/0.6522, allocations: 10.04 MB / 0.562 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.6529, allocations: 217.9 kB / 0.5622 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.6533, allocations: 31.98 kB / 0.5622 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.6549, allocations: 187.7 kB / 0.5624 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/0.6553, allocations: 124.3 kB / 0.5625 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.6555, allocations: 55.97 kB / 0.5626 GB, free: 9.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002179/0.6576, allocations: 1.508 MB / 0.564 GB, free: 8.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6576, allocations: 0 / 0.564 GB, free: 8.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00363/0.6613, allocations: 0.8124 MB / 0.5648 GB, free: 7.316 MB / 446.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.0003741/0.6616, allocations: 158.7 kB / 0.565 GB, free: 7.156 MB / 446.1 MB [/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.01028/0.6719, allocations: 5.571 MB / 0.5704 GB, free: 1.578 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6719, allocations: 0 / 0.5704 GB, free: 1.578 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005138/0.6771, allocations: 2.282 MB / 0.5727 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.6789, allocations: 250.6 kB / 0.5729 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.6909, allocations: 7.382 MB / 0.5801 GB, free: 7.629 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/0.6934, allocations: 1.756 MB / 0.5818 GB, free: 5.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00337/0.6967, allocations: 1.484 MB / 0.5833 GB, free: 4.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/0.6972, allocations: 184.4 kB / 0.5834 GB, free: 4.172 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6972, allocations: 0 / 0.5834 GB, free: 4.172 MB / 462.1 MB Notification: Performance of Templates: time 0.06654/0.7638, allocations: 37.9 MB / 0.6204 GB, free: 14.65 MB / 0.4981 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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.354383299010806]