Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 107.3 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 187.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07173/0.07294, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1571/0.2301, allocations: 7.033 MB / 382.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.2354, allocations: 3.142 MB / 386 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006544/0.2361, allocations: 30.72 kB / 386 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.2378, allocations: 0.8973 MB / 386.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.2406, allocations: 1.371 MB / 388.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.2416, allocations: 0.5209 MB / 388.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.2445, allocations: 2.735 MB / 391.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.2458, allocations: 1.332 MB / 392.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009512/0.2468, allocations: 0.8621 MB / 393.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.249, allocations: 2.02 MB / 395.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.2494, allocations: 182.9 kB / 396 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.251, allocations: 0.9615 MB / 396.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008622/0.2519, allocations: 1.14 MB / 398.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008815/0.2528, allocations: 1.306 MB / 399.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.2559, allocations: 4.424 MB / 403.8 MB, free: 336 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2559, allocations: 0 / 403.8 MB, free: 336 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2559, allocations: 1.25 kB / 403.8 MB, free: 336 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.239e-05/0.2559, allocations: 0 / 403.8 MB, free: 336 kB / 318.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.006113/0.262, allocations: 3.27 MB / 407.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2621, allocations: 9.062 kB / 407.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0058/0.2679, allocations: 1.651 MB / 408.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.2705, allocations: 1.572 MB / 410.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/0.2706, allocations: 132.2 kB / 410.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003099/0.2709, allocations: 174.5 kB / 410.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008349/0.2792, allocations: 6.592 MB / 417.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/0.2793, allocations: 31.73 kB / 417.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/0.2796, allocations: 91.89 kB / 417.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/0.2816, allocations: 1.319 MB / 418.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008727/0.2903, allocations: 5.847 MB / 424.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/0.317, allocations: 27.96 MB / 452.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.323, allocations: 2.79 MB / 455.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.3245, allocations: 1.306 MB / 456.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006464/0.3251, allocations: 0.6394 MB / 457.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3252, allocations: 55.11 kB / 457.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.606e-06/0.3252, allocations: 0 / 457.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07125/0.3965, allocations: 21.01 MB / 478.2 MB, free: 7.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.3966, allocations: 167.2 kB / 478.4 MB, free: 7.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/0.4001, allocations: 2.804 MB / 481.2 MB, free: 4.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002904/0.4005, allocations: 53.73 kB / 481.2 MB, free: 4.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.4018, allocations: 2.079 MB / 483.3 MB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/0.4025, allocations: 0.6286 MB / 484 MB, free: 1.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.4038, allocations: 0.9996 MB / 485 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4039, allocations: 305.1 kB / 485.3 MB, free: 208 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.4069, allocations: 2.231 MB / 487.5 MB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004793/0.4117, allocations: 5.154 MB / 492.6 MB, free: 7.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008654/0.4204, allocations: 7.968 MB / 0.4889 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.8e-05/0.4205, allocations: 32 kB / 0.4889 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02245/0.4429, allocations: 10.29 MB / 0.499 GB, free: 3.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.443, allocations: 52.09 kB / 0.499 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.542e-05/0.4431, allocations: 108 kB / 0.4991 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.4549, allocations: 3.419 MB / 0.5024 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/0.4583, allocations: 1.095 MB / 0.5035 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.4776, allocations: 12.85 MB / 0.5161 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/0.4814, allocations: 335.4 kB / 0.5164 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005448/0.482, allocations: 304 kB / 0.5167 GB, free: 1.273 MB / 446.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.00216/0.4841, allocations: 1.461 MB / 0.5181 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/0.4846, allocations: 244.8 kB / 0.5183 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/0.5005, allocations: 6.009 MB / 0.5242 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/0.5006, allocations: 7.969 kB / 0.5242 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5006, allocations: 0 / 0.5242 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/0.5012, allocations: 305.8 kB / 0.5245 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/0.5016, allocations: 35.98 kB / 0.5245 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.5031, allocations: 143.8 kB / 0.5247 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/0.5035, allocations: 132.6 kB / 0.5248 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01147/0.5149, allocations: 5.789 MB / 0.5304 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007176/0.5221, allocations: 5.935 MB / 0.5362 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00193/0.5241, allocations: 1.625 MB / 0.5378 GB, free: 11.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002371/0.5265, allocations: 1.738 MB / 0.5395 GB, free: 9.711 MB / 478.1 MB Notification: Performance of Backend: time 2.81e-07/0.5265, allocations: 0 / 0.5395 GB, free: 9.711 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.0101/0.5366, allocations: 5.057 MB / 0.5445 GB, free: 4.535 MB / 478.1 MB Notification: Performance of SimCode: time 0.1715/0.708, allocations: 6.787 MB / 0.5511 GB, free: 147.6 MB / 478.1 MB Notification: Performance of Templates: time 0.06117/0.7692, allocations: 43.24 MB / 0.5933 GB, free: 124 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches