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) 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 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_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.001139/0.001139, allocations: 99 kB / 16.5 MB, free: 6.648 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.001185/0.001185, allocations: 194.5 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 45.97 kB / 300.1 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0842/0.08544, allocations: 49.44 MB / 349.5 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01396/0.09943, allocations: 14.02 MB / 363.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009142/0.1086, allocations: 4.414 MB / 367.9 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.1108, allocations: 55.88 kB / 368 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.1128, allocations: 0.8686 MB / 368.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1536/0.2664, allocations: 1.273 MB / 370.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2675, allocations: 486.3 kB / 370.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005205/0.2727, allocations: 4.734 MB / 375.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.2742, allocations: 1.267 MB / 376.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000857/0.2751, allocations: 0.7081 MB / 377.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.2763, allocations: 1.298 MB / 378.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.2765, allocations: 107.2 kB / 378.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.278, allocations: 0.973 MB / 379.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007678/0.2787, allocations: 1.086 MB / 380.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008342/0.2796, allocations: 1.246 MB / 382 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.2824, allocations: 4.215 MB / 386.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2824, allocations: 1.219 kB / 386.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.2824, allocations: 0 / 386.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.459e-05/0.2825, allocations: 0 / 386.2 MB, free: 6.621 MB / 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.005144/0.2876, allocations: 3.283 MB / 389.5 MB, free: 4.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2876, allocations: 8.969 kB / 389.5 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003982/0.2881, allocations: 468.1 kB / 390 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/0.293, allocations: 1.658 MB / 391.7 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.2954, allocations: 1.819 MB / 393.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.2955, allocations: 128 kB / 393.6 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.2958, allocations: 179.7 kB / 393.8 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007159/0.3029, allocations: 6.596 MB / 400.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.303, allocations: 30.44 kB / 400.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.3033, allocations: 88.69 kB / 400.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001743/0.305, allocations: 1.329 MB / 401.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008407/0.3134, allocations: 5.832 MB / 407.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.3381, allocations: 28.08 MB / 435.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005431/0.3436, allocations: 2.731 MB / 438.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.3451, allocations: 1.283 MB / 439.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/0.3457, allocations: 0.6309 MB / 440.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.3458, allocations: 49.28 kB / 440.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.996e-06/0.3458, allocations: 0 / 440.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.0694/0.4152, allocations: 20.54 MB / 461 MB, free: 15.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.4153, allocations: 149.5 kB / 461.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/0.4199, allocations: 2.848 MB / 464 MB, free: 12.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.4201, allocations: 45.7 kB / 464 MB, free: 12.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.4214, allocations: 2.101 MB / 466.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005942/0.422, allocations: 0.5998 MB / 466.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.4234, allocations: 1.004 MB / 467.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.4234, allocations: 309.1 kB / 468 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.4264, allocations: 2.215 MB / 470.2 MB, free: 6.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004604/0.431, allocations: 5.169 MB / 475.4 MB, free: 15.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/0.4393, allocations: 7.976 MB / 483.4 MB, free: 6.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.945e-05/0.4394, allocations: 28 kB / 483.4 MB, free: 6.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02167/0.461, allocations: 10.29 MB / 493.7 MB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.637e-05/0.4612, allocations: 48 kB / 493.7 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.4613, allocations: 107.9 kB / 493.8 MB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/0.4727, allocations: 3.422 MB / 497.3 MB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.4763, allocations: 1.099 MB / 498.4 MB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.494, allocations: 12.01 MB / 0.4984 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003838/0.4978, allocations: 342.4 kB / 0.4987 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008091/0.4987, allocations: 304 kB / 0.499 GB, free: 10.44 MB / 430.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.002678/0.5014, allocations: 1.469 MB / 0.5005 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005698/0.5019, allocations: 244.8 kB / 0.5007 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/0.5176, allocations: 6.004 MB / 0.5065 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.123e-05/0.5177, allocations: 19.12 kB / 0.5066 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.562e-05/0.5177, allocations: 12 kB / 0.5066 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.251e-05/0.5178, allocations: 7.969 kB / 0.5066 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02973/0.5475, allocations: 13.17 MB / 0.5194 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.5475, allocations: 0 / 0.5194 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.5486, allocations: 239.6 kB / 0.5197 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0125/0.5611, allocations: 4.006 MB / 0.5236 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/0.5615, allocations: 47.95 kB / 0.5236 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1712/0.7327, allocations: 12.02 MB / 0.5354 GB, free: 147.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7327, allocations: 1.406 kB / 0.5354 GB, free: 147.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/0.7517, allocations: 9.894 MB / 0.545 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/0.7524, allocations: 296.8 kB / 0.5453 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/0.7528, allocations: 35.62 kB / 0.5454 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.7543, allocations: 189.9 kB / 0.5455 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/0.7547, allocations: 110.6 kB / 0.5456 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.7549, allocations: 50.31 kB / 0.5457 GB, free: 144 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002099/0.757, allocations: 1.765 MB / 0.5474 GB, free: 143.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.757, allocations: 3.75 kB / 0.5474 GB, free: 143.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003368/0.7603, allocations: 0.823 MB / 0.5482 GB, free: 143.3 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.01802/0.7784, allocations: 10.53 MB / 0.5585 GB, free: 137.5 MB / 446.1 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.008982/0.7874, allocations: 6.221 MB / 0.5646 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7874, allocations: 0 / 0.5646 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004059/0.7915, allocations: 2.859 MB / 0.5674 GB, free: 128.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.7935, allocations: 283 kB / 0.5676 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06649/0.86, allocations: 45.99 MB / 0.6125 GB, free: 76.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.8617, allocations: 2.321 MB / 0.6148 GB, free: 74.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003056/0.8648, allocations: 1.523 MB / 0.6163 GB, free: 72.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.8659, allocations: 1.128 MB / 0.6174 GB, free: 71.46 MB / 446.1 MB Notification: Performance of SimCode: time 6.12e-07/0.8659, allocations: 0 / 0.6174 GB, free: 71.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6735/1.539, allocations: 63.53 MB / 0.6794 GB, free: 8.238 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.54, allocations: 245.8 kB / 0.6797 GB, free: 7.984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.643/5.183, allocations: 0 / 0.6797 GB, free: 7.984 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches