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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007952/0.0007952, allocations: 93.69 kB / 17.3 MB, free: 6.395 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.001093/0.001093, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.285/1.285, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004405/0.0004405, allocations: 8 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09388/0.09433, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01299/0.1074, allocations: 13.44 MB / 342.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009299/0.1167, allocations: 4.348 MB / 346.8 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.1186, allocations: 59.81 kB / 346.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007634/0.1193, allocations: 274.8 kB / 347.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.1221, allocations: 1.281 MB / 348.5 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008802/0.123, allocations: 495.4 kB / 348.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004995/0.128, allocations: 4.494 MB / 353.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.1305, allocations: 1.646 MB / 355.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009935/0.1315, allocations: 0.6613 MB / 355.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.133, allocations: 1.25 MB / 357 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.1332, allocations: 84 kB / 357.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.1348, allocations: 0.9397 MB / 358 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.1359, allocations: 1.06 MB / 359.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.137, allocations: 1.24 MB / 360.3 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.1409, allocations: 4.142 MB / 364.5 MB, free: 104 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.141, allocations: 0 / 364.5 MB, free: 104 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.141, allocations: 4 kB / 364.5 MB, free: 100 kB / 302.1 MB Notification: Performance of Transformations before backend: time 4.535e-05/0.141, allocations: 0 / 364.5 MB, free: 100 kB / 302.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.005567/0.1466, allocations: 2.747 MB / 367.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1467, allocations: 8.031 kB / 367.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005529/0.1472, allocations: 462.3 kB / 367.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006009/0.1532, allocations: 1.709 MB / 369.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/0.157, allocations: 1.99 MB / 371.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.401e-05/0.1571, allocations: 127.2 kB / 371.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.1574, allocations: 171.8 kB / 371.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009311/0.1668, allocations: 6.611 MB / 378.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.31e-05/0.1669, allocations: 31.66 kB / 378.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.1671, allocations: 87.91 kB / 378.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002035/0.1692, allocations: 1.331 MB / 379.7 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2087/0.3779, allocations: 5.843 MB / 385.6 MB, free: 30.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.4077, allocations: 28.1 MB / 413.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00535/0.4131, allocations: 2.748 MB / 416.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.4143, allocations: 1.268 MB / 417.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.4148, allocations: 0.6283 MB / 418.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4149, allocations: 56.12 kB / 418.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 4.539e-06/0.4149, allocations: 0 / 418.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06526/0.4801, allocations: 20.64 MB / 439 MB, free: 5.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.4803, allocations: 149 kB / 439.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004637/0.4849, allocations: 2.865 MB / 442 MB, free: 1.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003478/0.4853, allocations: 45.7 kB / 442 MB, free: 1.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.4866, allocations: 2.102 MB / 444.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006288/0.4873, allocations: 0.6057 MB / 444.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004828/0.4877, allocations: 411.5 kB / 445.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.4879, allocations: 309.1 kB / 445.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.4907, allocations: 2.208 MB / 447.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00438/0.4951, allocations: 5.179 MB / 452.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008431/0.5035, allocations: 7.975 MB / 460.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.377e-05/0.5036, allocations: 28 kB / 460.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02336/0.527, allocations: 10.31 MB / 471.2 MB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/0.5271, allocations: 60.19 kB / 471.2 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.5272, allocations: 106.3 kB / 471.3 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01208/0.5393, allocations: 3.505 MB / 474.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/0.5429, allocations: 1.099 MB / 475.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/0.561, allocations: 12.05 MB / 488 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/0.5648, allocations: 332 kB / 488.3 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004646/0.5653, allocations: 308.7 kB / 488.6 MB, free: 0.8359 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 (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.002274/0.5675, allocations: 1.462 MB / 490.1 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.568, allocations: 248.8 kB / 490.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/0.5838, allocations: 6.037 MB / 496.3 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-05/0.5839, allocations: 21.41 kB / 496.4 MB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-05/0.584, allocations: 8 kB / 496.4 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/0.584, allocations: 7.969 kB / 496.4 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/0.6126, allocations: 13.22 MB / 0.4977 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/0.6127, allocations: 0 / 0.4977 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.614, allocations: 235.7 kB / 0.4979 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01323/0.6273, allocations: 4.136 MB / 0.5019 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000293/0.6276, allocations: 44.58 kB / 0.502 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/0.646, allocations: 12.1 MB / 0.5138 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.646, allocations: 4 kB / 0.5138 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0208/0.6668, allocations: 9.944 MB / 0.5235 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/0.6677, allocations: 309.6 kB / 0.5238 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/0.6682, allocations: 43.97 kB / 0.5238 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.6699, allocations: 188.3 kB / 0.524 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004634/0.6704, allocations: 108.8 kB / 0.5241 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.6705, allocations: 52.67 kB / 0.5242 GB, free: 404 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002577/0.6731, allocations: 1.768 MB / 0.5259 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6731, allocations: 0 / 0.5259 GB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004194/0.6773, allocations: 0.8253 MB / 0.5267 GB, free: 13.8 MB / 446.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 (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.02124/0.6986, allocations: 10.58 MB / 0.537 GB, free: 3.172 MB / 446.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.1729/0.8715, allocations: 6.211 MB / 0.5431 GB, free: 165.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.8716, allocations: 1.094 kB / 0.5431 GB, free: 165.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005359/0.8769, allocations: 2.872 MB / 0.5459 GB, free: 165.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.8795, allocations: 280.7 kB / 0.5462 GB, free: 165.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07266/0.9522, allocations: 46.32 MB / 0.5914 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/0.9541, allocations: 2.324 MB / 0.5937 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003259/0.9574, allocations: 1.531 MB / 0.5952 GB, free: 123.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.9588, allocations: 1.128 MB / 0.5963 GB, free: 122.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.9588, allocations: 0 / 0.5963 GB, free: 122.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2879/1.247, allocations: 63.06 MB / 0.6578 GB, free: 59.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/1.247, allocations: 246.6 kB / 0.6581 GB, free: 58.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.629/4.876, allocations: 0 / 0.6581 GB, free: 58.9 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches