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.001078/0.001077, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001141/0.001141, allocations: 198 kB / 18.07 MB, free: 5.41 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.353/1.353, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001293/0.001292, allocations: 47.92 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1092, allocations: 46.63 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01573/0.125, allocations: 14.02 MB / 340.7 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1357, allocations: 4.414 MB / 345.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.1389, allocations: 51.88 kB / 345.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.1409, allocations: 0.8725 MB / 346.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.1439, allocations: 1.277 MB / 347.3 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009871/0.1449, allocations: 487.3 kB / 347.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004896/0.1498, allocations: 4.498 MB / 352.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.1513, allocations: 1.267 MB / 353.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009491/0.1522, allocations: 0.708 MB / 354.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.1537, allocations: 1.308 MB / 355.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.1539, allocations: 104 kB / 355.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.1555, allocations: 0.9593 MB / 356.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009112/0.1564, allocations: 1.087 MB / 357.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.1575, allocations: 1.258 MB / 359 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003716/0.1612, allocations: 4.225 MB / 363.2 MB, free: 136 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1613, allocations: 0 / 363.2 MB, free: 136 kB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1613, allocations: 0 / 363.2 MB, free: 136 kB / 302.1 MB Notification: Performance of Transformations before backend: time 6.153e-05/0.1613, allocations: 0 / 363.2 MB, free: 136 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.006609/0.1679, allocations: 3.288 MB / 366.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.168, allocations: 8.031 kB / 366.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004882/0.1685, allocations: 466.2 kB / 367 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005522/0.174, allocations: 1.666 MB / 368.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.1774, allocations: 1.99 MB / 370.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.754e-05/0.1775, allocations: 127.2 kB / 370.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.1778, allocations: 167.9 kB / 370.9 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008883/0.1867, allocations: 6.6 MB / 377.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.28e-05/0.1868, allocations: 35.66 kB / 377.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.1871, allocations: 83.89 kB / 377.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2127/0.3998, allocations: 1.324 MB / 379 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.4128, allocations: 5.84 MB / 384.8 MB, free: 49.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/0.4434, allocations: 28.07 MB / 412.9 MB, free: 27.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/0.4484, allocations: 2.748 MB / 415.6 MB, free: 25.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.4496, allocations: 1.276 MB / 416.9 MB, free: 23.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005023/0.4501, allocations: 0.6314 MB / 417.5 MB, free: 23.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.4502, allocations: 47.12 kB / 417.6 MB, free: 23.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 4.769e-06/0.4502, allocations: 0 / 417.6 MB, free: 23.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06298/0.5132, allocations: 20.6 MB / 438.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.5133, allocations: 145.5 kB / 438.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.5169, allocations: 2.861 MB / 441.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003592/0.5173, allocations: 45.7 kB / 441.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.5189, allocations: 2.107 MB / 443.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008046/0.5197, allocations: 0.597 MB / 443.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/0.5212, allocations: 1.002 MB / 444.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5213, allocations: 309.1 kB / 445.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/0.5246, allocations: 2.214 MB / 447.4 MB, free: 9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/0.5297, allocations: 5.173 MB / 452.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009446/0.5391, allocations: 7.977 MB / 460.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-05/0.5393, allocations: 32 kB / 460.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02459/0.5639, allocations: 10.28 MB / 470.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.564, allocations: 48 kB / 471 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.5641, allocations: 104 kB / 471.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/0.5761, allocations: 3.435 MB / 474.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/0.5801, allocations: 1.103 MB / 475.6 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.5986, allocations: 11.99 MB / 487.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/0.6031, allocations: 339.4 kB / 487.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007475/0.6039, allocations: 304 kB / 488.2 MB, free: 13.09 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.002668/0.6066, allocations: 1.473 MB / 489.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/0.6072, allocations: 252.7 kB / 489.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/0.6233, allocations: 6.002 MB / 495.9 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.318e-05/0.6234, allocations: 16 kB / 495.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/0.6234, allocations: 12 kB / 496 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-05/0.6235, allocations: 11.97 kB / 496 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02786/0.6513, allocations: 13.18 MB / 0.4972 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/0.6514, allocations: 0 / 0.4972 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.6525, allocations: 235.6 kB / 0.4974 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01209/0.6646, allocations: 4.016 MB / 0.5014 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003596/0.665, allocations: 51.89 kB / 0.5014 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01787/0.6829, allocations: 12.02 MB / 0.5132 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.683, allocations: 0 / 0.5132 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1872/0.8701, allocations: 9.888 MB / 0.5228 GB, free: 132.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008371/0.871, allocations: 300.9 kB / 0.5231 GB, free: 132.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.8715, allocations: 36.62 kB / 0.5231 GB, free: 132.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.8732, allocations: 187 kB / 0.5233 GB, free: 132.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004773/0.8736, allocations: 113.8 kB / 0.5234 GB, free: 132.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.8738, allocations: 51.45 kB / 0.5235 GB, free: 132.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00266/0.8765, allocations: 1.772 MB / 0.5252 GB, free: 132 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8765, allocations: 0 / 0.5252 GB, free: 132 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004223/0.8807, allocations: 0.8235 MB / 0.526 GB, free: 132 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 (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.02092/0.9016, allocations: 10.53 MB / 0.5363 GB, free: 128.5 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.008969/0.9107, allocations: 6.211 MB / 0.5424 GB, free: 125.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.9107, allocations: 3.609 kB / 0.5424 GB, free: 125.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004055/0.9147, allocations: 2.857 MB / 0.5451 GB, free: 124.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.9167, allocations: 289.1 kB / 0.5454 GB, free: 124.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0633/0.98, allocations: 46.12 MB / 0.5905 GB, free: 75.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.9817, allocations: 2.323 MB / 0.5927 GB, free: 73.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002887/0.9846, allocations: 1.531 MB / 0.5942 GB, free: 72.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.9857, allocations: 1.128 MB / 0.5953 GB, free: 70.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.9858, allocations: 0 / 0.5953 GB, free: 70.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/1.058, allocations: 63.69 MB / 0.6575 GB, free: 7.113 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.058, allocations: 239.7 kB / 0.6578 GB, free: 6.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/4.544, allocations: 0 / 0.6578 GB, free: 6.855 MB / 414.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