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.001181/0.001181, allocations: 95.28 kB / 16.94 MB, free: 5.98 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.001078/0.001078, allocations: 177.9 kB / 17.82 MB, free: 5.652 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.518/1.518, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004501/0.0004503, allocations: 12.22 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09874, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01212/0.1109, allocations: 11.92 MB / 340.3 MB, free: 8.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00917/0.1201, allocations: 4.159 MB / 344.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.1228, allocations: 51.88 kB / 344.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.1243, allocations: 0.5405 MB / 345 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005695/0.13, allocations: 1.94 MB / 346.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1312, allocations: 435.2 kB / 347.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01989/0.1511, allocations: 13.68 MB / 361.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.1538, allocations: 1.541 MB / 362.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000963/0.1548, allocations: 0.6151 MB / 363.2 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.1559, allocations: 0.9151 MB / 364.1 MB, free: 188 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.1562, allocations: 87.94 kB / 364.2 MB, free: 100 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1576, allocations: 0.7489 MB / 365 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008598/0.1585, allocations: 0.9702 MB / 365.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.159, allocations: 0.5118 MB / 366.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.1623, allocations: 3.348 MB / 369.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1623, allocations: 8 kB / 369.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1623, allocations: 0 / 369.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.916e-05/0.1624, allocations: 0 / 369.8 MB, free: 10.49 MB / 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.006532/0.169, allocations: 2.785 MB / 372.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.169, allocations: 12.03 kB / 372.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007077/0.1761, allocations: 1.982 MB / 374.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/0.1801, allocations: 1.756 MB / 376.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.1803, allocations: 127.2 kB / 376.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007512/0.1811, allocations: 171.9 kB / 376.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2114/0.3925, allocations: 6.628 MB / 383.3 MB, free: 44.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-05/0.3926, allocations: 33.47 kB / 383.3 MB, free: 44.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002956/0.3929, allocations: 90.17 kB / 383.4 MB, free: 44.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002482/0.3954, allocations: 1.329 MB / 384.7 MB, free: 44.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.4081, allocations: 5.871 MB / 390.6 MB, free: 44.52 MB / 318.1 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.03/0.4381, allocations: 28.21 MB / 418.8 MB, free: 22.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005157/0.4433, allocations: 2.766 MB / 421.5 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/0.4439, allocations: 0.628 MB / 422.2 MB, free: 18.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4439, allocations: 51.06 kB / 422.2 MB, free: 18.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 3.918e-06/0.4439, allocations: 0 / 422.2 MB, free: 18.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06457/0.5085, allocations: 20.92 MB / 443.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.5087, allocations: 149.4 kB / 443.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004466/0.5131, allocations: 2.97 MB / 446.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004345/0.5136, allocations: 53.7 kB / 446.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.5153, allocations: 2.102 MB / 448.4 MB, free: 8.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006869/0.516, allocations: 0.6024 MB / 449 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.5162, allocations: 96.7 kB / 449.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003077/0.5165, allocations: 0.5087 MB / 449.6 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.5197, allocations: 2.192 MB / 451.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005025/0.5247, allocations: 5.136 MB / 456.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.5291, allocations: 3.299 MB / 460.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.485e-05/0.5292, allocations: 32 kB / 460.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02354/0.5528, allocations: 10.26 MB / 470.5 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.5529, allocations: 52 kB / 470.6 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.675e-05/0.553, allocations: 108.4 kB / 470.7 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/0.5651, allocations: 3.516 MB / 474.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003989/0.5691, allocations: 1.096 MB / 475.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/0.5895, allocations: 12.47 MB / 487.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003898/0.5935, allocations: 335.4 kB / 488.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006018/0.5941, allocations: 306.1 kB / 488.4 MB, free: 14.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (581): * Single equations (assignments): 571 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002457/0.5965, allocations: 1.473 MB / 489.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/0.5971, allocations: 244.8 kB / 490.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/0.6131, allocations: 6.027 MB / 496.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/0.6132, allocations: 20 kB / 496.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-05/0.6133, allocations: 8 kB / 496.2 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-05/0.6133, allocations: 11.92 kB / 496.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03201/0.6453, allocations: 13.24 MB / 0.4975 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/0.6454, allocations: 0 / 0.4975 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.6467, allocations: 227.7 kB / 0.4977 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01379/0.6605, allocations: 4.139 MB / 0.5017 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004089/0.661, allocations: 43.95 kB / 0.5018 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/0.681, allocations: 12.53 MB / 0.514 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.681, allocations: 0 / 0.514 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1939/0.8749, allocations: 9.985 MB / 0.5238 GB, free: 130.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009826/0.8759, allocations: 310.3 kB / 0.5241 GB, free: 130.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/0.8765, allocations: 40.41 kB / 0.5241 GB, free: 130.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/0.8783, allocations: 188.5 kB / 0.5243 GB, free: 130.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/0.8787, allocations: 107.3 kB / 0.5244 GB, free: 130.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.8789, allocations: 50.42 kB / 0.5244 GB, free: 130.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002945/0.8819, allocations: 1.861 MB / 0.5262 GB, free: 130.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8819, allocations: 1.25 kB / 0.5262 GB, free: 130.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004062/0.8859, allocations: 0.8419 MB / 0.5271 GB, free: 130.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005178/0.8865, allocations: 182.3 kB / 0.5272 GB, free: 130.2 MB / 414.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.01013/0.8966, allocations: 6.191 MB / 0.5333 GB, free: 128 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.8966, allocations: 0 / 0.5333 GB, free: 128 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004726/0.9014, allocations: 2.861 MB / 0.5361 GB, free: 126.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.9029, allocations: 263.2 kB / 0.5363 GB, free: 126.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009696/0.9126, allocations: 8.364 MB / 0.5445 GB, free: 122.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/0.9144, allocations: 2.378 MB / 0.5468 GB, free: 121.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002983/0.9174, allocations: 1.537 MB / 0.5483 GB, free: 121.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.9178, allocations: 190 kB / 0.5485 GB, free: 121.1 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.9178, allocations: 0 / 0.5485 GB, free: 121.1 MB / 414.1 MB Notification: Performance of Templates: time 0.05228/0.9701, allocations: 39.09 MB / 0.5867 GB, free: 86.02 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches