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.00122/0.00122, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001025/0.001025, allocations: 146.5 kB / 25.59 MB, free: 8.941 MB / 18.57 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 0.9207/0.9207, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.727e-05, allocations: 3.969 kB / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005988/0.006016, allocations: 6.683 MB / 275.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005004/0.01102, allocations: 3.052 MB / 278.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008676/0.01189, allocations: 35.88 kB / 279 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.01332, allocations: 0.9417 MB / 279.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.01601, allocations: 1.474 MB / 281.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000879/0.01689, allocations: 0.5886 MB / 282 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004268/0.02116, allocations: 4.016 MB / 286 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.02321, allocations: 1.875 MB / 287.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.02524, allocations: 1.458 MB / 289.3 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.02721, allocations: 1.672 MB / 291 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.02752, allocations: 172 kB / 291.2 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.02922, allocations: 0.9202 MB / 292.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007728/0.02999, allocations: 1.192 MB / 293.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006707/0.03066, allocations: 0.7203 MB / 294 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.03359, allocations: 2.93 MB / 296.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.0336, allocations: 3.984 kB / 296.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0336, allocations: 0 / 296.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.215e-05/0.03364, allocations: 0 / 296.9 MB, free: 13.94 MB / 282.7 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.004278/0.03792, allocations: 3.362 MB / 300.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.03795, allocations: 8.031 kB / 300.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/0.04061, allocations: 1.127 MB / 301.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.04197, allocations: 1.203 MB / 302.6 MB, free: 8.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.04204, allocations: 123.5 kB / 302.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.04226, allocations: 179.8 kB / 302.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/0.04602, allocations: 3.745 MB / 306.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-05/0.04607, allocations: 39.62 kB / 306.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.04624, allocations: 83.91 kB / 306.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001033/0.04727, allocations: 1.171 MB / 308 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.0501, allocations: 1.769 MB / 309.7 MB, free: 328 kB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01982/0.06992, allocations: 30.93 MB / 340.7 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.07239, allocations: 1.103 MB / 341.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.07308, allocations: 377.8 kB / 342.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.07333, allocations: 160.2 kB / 342.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.07336, allocations: 49.83 kB / 342.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 3.617e-06/0.07336, allocations: 0 / 342.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=163): time 0.02491/0.09828, allocations: 9.06 MB / 351.4 MB, free: 5.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.09834, allocations: 175.2 kB / 351.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.1005, allocations: 2.505 MB / 354.1 MB, free: 2.734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001841/0.1007, allocations: 45.7 kB / 354.1 MB, free: 2.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.1018, allocations: 2.318 MB / 356.4 MB, free: 348 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1247/0.2264, allocations: 0.6781 MB / 357.1 MB, free: 78.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/0.2281, allocations: 1.09 MB / 358.2 MB, free: 78.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2283, allocations: 0.5289 MB / 358.7 MB, free: 77.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.2297, allocations: 0.6885 MB / 359.4 MB, free: 77.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/0.2322, allocations: 5.05 MB / 364.5 MB, free: 72.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.2358, allocations: 6.249 MB / 370.7 MB, free: 66.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.145e-05/0.2359, allocations: 28.12 kB / 370.8 MB, free: 66.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.008922/0.2448, allocations: 5.266 MB / 376 MB, free: 65.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.2448, allocations: 53.44 kB / 376.1 MB, free: 65.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-05/0.2449, allocations: 106.2 kB / 376.2 MB, free: 65.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005401/0.2503, allocations: 1.712 MB / 377.9 MB, free: 65.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/0.2529, allocations: 1.046 MB / 378.9 MB, free: 65.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.2602, allocations: 4.496 MB / 383.4 MB, free: 63.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/0.2632, allocations: 210.5 kB / 383.6 MB, free: 62.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/0.2636, allocations: 269.9 kB / 383.9 MB, free: 62.64 MB / 330.7 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 (wheel1.body.sphereColor[1],wheel1.body.sphereColor[2],wheel1.body.sphereColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * 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.001021/0.2646, allocations: 0.536 MB / 384.4 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/0.2651, allocations: 286.3 kB / 384.7 MB, free: 61.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/0.2721, allocations: 2.41 MB / 387.1 MB, free: 60.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.89e-05/0.2722, allocations: 32.39 kB / 387.2 MB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/0.2722, allocations: 10.05 kB / 387.2 MB, free: 60.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.2722, allocations: 7.828 kB / 387.2 MB, free: 60.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.2852, allocations: 5.769 MB / 393 MB, free: 54.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.2852, allocations: 4 kB / 393 MB, free: 54.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.2859, allocations: 183 kB / 393.1 MB, free: 54.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006509/0.2924, allocations: 1.599 MB / 394.7 MB, free: 53.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.2926, allocations: 39.97 kB / 394.8 MB, free: 53.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006778/0.2994, allocations: 3.804 MB / 398.6 MB, free: 49.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2994, allocations: 0 / 398.6 MB, free: 49.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008428/0.3078, allocations: 3.531 MB / 402.1 MB, free: 45.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/0.3084, allocations: 233.1 kB / 402.3 MB, free: 45.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/0.3087, allocations: 37.23 kB / 402.4 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.3097, allocations: 24 kB / 402.4 MB, free: 45.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/0.31, allocations: 116.8 kB / 402.5 MB, free: 45.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.3102, allocations: 50.48 kB / 402.6 MB, free: 45.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001109/0.3113, allocations: 0.9848 MB / 403.5 MB, free: 44.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3113, allocations: 0 / 403.5 MB, free: 44.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00377/0.315, allocations: 0.9274 MB / 404.5 MB, free: 43.37 MB / 330.7 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.0004595/0.3155, allocations: 180.3 kB / 404.6 MB, free: 43.2 MB / 330.7 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.00487/0.3204, allocations: 3.135 MB / 407.8 MB, free: 40.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3204, allocations: 0 / 407.8 MB, free: 40.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.3222, allocations: 1.234 MB / 409 MB, free: 38.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.3236, allocations: 280.2 kB / 409.3 MB, free: 38.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.3299, allocations: 5.344 MB / 414.6 MB, free: 33.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.3306, allocations: 0.8167 MB / 415.4 MB, free: 32.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008514/0.3315, allocations: 363.6 kB / 415.8 MB, free: 32.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005335/0.332, allocations: 434.1 kB / 416.2 MB, free: 31.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.874e-06/0.332, allocations: 0 / 416.2 MB, free: 31.61 MB / 330.7 MB Notification: Performance of Templates: time 0.04597/0.378, allocations: 43.46 MB / 459.7 MB, free: 4.578 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.142426133621484]