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.0009829/0.0009829, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.0009461/0.0009461, allocations: 150.5 kB / 24.8 MB, free: 9.27 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.9095/0.9095, allocations: 173.3 MB / 201.4 MB, free: 9.238 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.723e-06/1.723e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.713e-05, allocations: 6.312 kB / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008055/0.008072, allocations: 6.689 MB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.01263, allocations: 3.052 MB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003915/0.01302, allocations: 35.88 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.01466, allocations: 0.9378 MB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.0163, allocations: 1.47 MB / 280.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.01686, allocations: 0.5847 MB / 281.2 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.01922, allocations: 4.021 MB / 285.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.02065, allocations: 1.883 MB / 287.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.02172, allocations: 1.446 MB / 288.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.023, allocations: 1.684 MB / 290.2 MB, free: 332 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.02318, allocations: 172 kB / 290.4 MB, free: 160 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1123/0.1355, allocations: 0.9017 MB / 291.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.1367, allocations: 1.196 MB / 292.5 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.138, allocations: 0.7204 MB / 293.2 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003623/0.1416, allocations: 2.938 MB / 296.1 MB, free: 20.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1417, allocations: 2.312 kB / 296.1 MB, free: 20.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1417, allocations: 0.5 kB / 296.1 MB, free: 20.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.738e-05/0.1417, allocations: 0.7188 kB / 296.1 MB, free: 20.1 MB / 266.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.00493/0.1466, allocations: 3.361 MB / 299.5 MB, free: 18.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1467, allocations: 9.516 kB / 299.5 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.1494, allocations: 1.125 MB / 300.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.1508, allocations: 1.201 MB / 301.8 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.1509, allocations: 128.2 kB / 302 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.1511, allocations: 174.6 kB / 302.1 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.1543, allocations: 3.749 MB / 305.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.1543, allocations: 34.62 kB / 305.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.1545, allocations: 87 kB / 306 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000889/0.1554, allocations: 1.172 MB / 307.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.1576, allocations: 1.764 MB / 308.9 MB, free: 15.48 MB / 266.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.01538/0.173, allocations: 30.93 MB / 339.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.1752, allocations: 1.096 MB / 341 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.1756, allocations: 385.4 kB / 341.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.1759, allocations: 159 kB / 341.5 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1759, allocations: 55.56 kB / 341.6 MB, free: 372 kB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 3.757e-06/0.1759, allocations: 0 / 341.6 MB, free: 372 kB / 282.7 MB Notification: Performance of matching and sorting (n=163): time 0.02337/0.1993, allocations: 9.058 MB / 350.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.1993, allocations: 175.1 kB / 350.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.2021, allocations: 2.509 MB / 353.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.2022, allocations: 45.7 kB / 353.3 MB, free: 4.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.2032, allocations: 2.317 MB / 355.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/0.2037, allocations: 0.6876 MB / 356.3 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.2048, allocations: 1.093 MB / 357.4 MB, free: 1.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2049, allocations: 0.532 MB / 358 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.206, allocations: 0.6893 MB / 358.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/0.2092, allocations: 5.046 MB / 363.7 MB, free: 8.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/0.2136, allocations: 6.244 MB / 369.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.108e-05/0.2136, allocations: 32 kB / 370 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.008642/0.2222, allocations: 5.269 MB / 375.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.2223, allocations: 52 kB / 375.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-05/0.2224, allocations: 100 kB / 375.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004992/0.2273, allocations: 1.719 MB / 377.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.2294, allocations: 1.033 MB / 378.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.2354, allocations: 4.503 MB / 382.6 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.2375, allocations: 211.7 kB / 382.9 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.2377, allocations: 278.4 kB / 383.1 MB, free: 3.625 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.001018/0.2387, allocations: 0.5429 MB / 383.7 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.2391, allocations: 286.2 kB / 383.9 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/0.2448, allocations: 2.404 MB / 386.4 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.2448, allocations: 24 kB / 386.4 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.2448, allocations: 16 kB / 386.4 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.2449, allocations: 11.91 kB / 386.4 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.2555, allocations: 5.76 MB / 392.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.2555, allocations: 7.984 kB / 392.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.256, allocations: 171.7 kB / 392.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005168/0.2612, allocations: 1.606 MB / 393.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.2613, allocations: 39.97 kB / 394 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005602/0.2669, allocations: 3.796 MB / 397.8 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2669, allocations: 4 kB / 397.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006999/0.2739, allocations: 3.535 MB / 401.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.2743, allocations: 234.2 kB / 401.5 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.2745, allocations: 27.98 kB / 401.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.2752, allocations: 36.12 kB / 401.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.2754, allocations: 112.8 kB / 401.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/0.2755, allocations: 47.95 kB / 401.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.2766, allocations: 0.9923 MB / 402.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2766, allocations: 0 / 402.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003004/0.2796, allocations: 0.9217 MB / 403.7 MB, free: 14.84 MB / 362.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.0003711/0.28, allocations: 193.1 kB / 403.9 MB, free: 14.65 MB / 362.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.004036/0.284, allocations: 3.132 MB / 407 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.284, allocations: 0 / 407 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.286, allocations: 1.226 MB / 408.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.2871, allocations: 286.7 kB / 408.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/0.2931, allocations: 5.347 MB / 413.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009572/0.2941, allocations: 0.8167 MB / 414.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008201/0.2949, allocations: 363.5 kB / 415 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.2955, allocations: 434.1 kB / 415.4 MB, free: 2.906 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2955, allocations: 0 / 415.4 MB, free: 2.906 MB / 362.7 MB Notification: Performance of Templates: time 0.154/0.4495, allocations: 42.55 MB / 458 MB, free: 113.2 MB / 378.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: 3.75159125123173]