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.001371/0.001377, allocations: 109.4 kB / 17.73 MB, free: 5.32 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.001478/0.001478, allocations: 196.2 kB / 18.67 MB, free: 4.387 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.426/1.426, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001467/0.001467, allocations: 55.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09646, allocations: 46.62 MB / 374.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2225/0.319, allocations: 7.036 MB / 381.7 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006597/0.3256, allocations: 3.147 MB / 384.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.3271, allocations: 34.91 kB / 384.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.3294, allocations: 0.8973 MB / 385.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.3335, allocations: 1.392 MB / 387.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3348, allocations: 0.5199 MB / 387.7 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004166/0.339, allocations: 2.736 MB / 390.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.3408, allocations: 1.328 MB / 391.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.3424, allocations: 0.8669 MB / 392.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.3451, allocations: 2.019 MB / 394.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000526/0.3457, allocations: 179.1 kB / 394.8 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.3476, allocations: 0.9668 MB / 395.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.3488, allocations: 1.135 MB / 396.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.35, allocations: 1.317 MB / 398.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004749/0.3547, allocations: 4.458 MB / 402.7 MB, free: 168 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3547, allocations: 1.156 kB / 402.7 MB, free: 168 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3547, allocations: 0 / 402.7 MB, free: 168 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.3549, allocations: 0 / 402.7 MB, free: 168 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.008762/0.3636, allocations: 3.37 MB / 406 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.3637, allocations: 9.062 kB / 406.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006916/0.3644, allocations: 464.7 kB / 406.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/0.3707, allocations: 1.683 MB / 408.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/0.3754, allocations: 1.998 MB / 410.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.3756, allocations: 132.4 kB / 410.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003989/0.376, allocations: 167.8 kB / 410.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009903/0.3859, allocations: 6.596 MB / 417.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-05/0.386, allocations: 35.7 kB / 417.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.3862, allocations: 83.91 kB / 417.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/0.3883, allocations: 1.327 MB / 418.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009983/0.3983, allocations: 5.843 MB / 424.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.4302, allocations: 28.03 MB / 452.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.4364, allocations: 2.778 MB / 455.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.4381, allocations: 1.314 MB / 456.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007546/0.4389, allocations: 0.6316 MB / 457.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.439, allocations: 47.11 kB / 457.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 8.426e-06/0.439, allocations: 0 / 457.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07067/0.5097, allocations: 21.23 MB / 478.4 MB, free: 6.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.5098, allocations: 171.2 kB / 478.6 MB, free: 5.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003944/0.5137, allocations: 2.829 MB / 481.4 MB, free: 3.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003291/0.5141, allocations: 49.7 kB / 481.4 MB, free: 3.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.5156, allocations: 2.167 MB / 483.6 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/0.5166, allocations: 0.6551 MB / 484.3 MB, free: 212 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/0.5182, allocations: 1.004 MB / 485.3 MB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5183, allocations: 309.1 kB / 485.6 MB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/0.5218, allocations: 2.219 MB / 487.8 MB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005258/0.5271, allocations: 5.142 MB / 492.9 MB, free: 6.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00962/0.5367, allocations: 7.945 MB / 0.4891 GB, free: 12.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-05/0.5368, allocations: 32 kB / 0.4892 GB, free: 12.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02279/0.5596, allocations: 10.28 MB / 0.4992 GB, free: 2.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.5597, allocations: 48 kB / 0.4993 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-05/0.5598, allocations: 104 kB / 0.4994 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/0.5715, allocations: 3.431 MB / 0.5027 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00366/0.5752, allocations: 1.084 MB / 0.5038 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.5945, allocations: 12.86 MB / 0.5163 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/0.5989, allocations: 331.7 kB / 0.5166 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006688/0.5996, allocations: 304 kB / 0.5169 GB, free: 16 kB / 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 (573): * Single equations (assignments): 562 * 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.002705/0.6024, allocations: 1.463 MB / 0.5184 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005748/0.6029, allocations: 270.2 kB / 0.5186 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/0.6188, allocations: 6.006 MB / 0.5245 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.595e-05/0.6189, allocations: 27.98 kB / 0.5245 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/0.6189, allocations: 8 kB / 0.5245 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.619, allocations: 11.97 kB / 0.5245 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/0.6496, allocations: 13.22 MB / 0.5374 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/0.6496, allocations: 0 / 0.5374 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.6508, allocations: 231.6 kB / 0.5377 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01257/0.6634, allocations: 4.008 MB / 0.5416 GB, free: 6.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00035/0.6638, allocations: 51.98 kB / 0.5416 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2243/0.8881, allocations: 12.82 MB / 0.5541 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8882, allocations: 1.062 kB / 0.5541 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02272/0.9109, allocations: 10.1 MB / 0.564 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008945/0.9119, allocations: 312.1 kB / 0.5643 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/0.9123, allocations: 36.02 kB / 0.5643 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.914, allocations: 185 kB / 0.5645 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/0.9145, allocations: 112.8 kB / 0.5646 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.9147, allocations: 54.55 kB / 0.5647 GB, free: 146.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003182/0.9179, allocations: 1.752 MB / 0.5664 GB, free: 146.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.9179, allocations: 0 / 0.5664 GB, free: 146.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004881/0.9228, allocations: 0.8243 MB / 0.5672 GB, free: 146.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (105): * Single equations (assignments): 94 * 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%), (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.01918/0.942, allocations: 10.74 MB / 0.5777 GB, free: 142.3 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.00924/0.9513, allocations: 6.251 MB / 0.5838 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9513, allocations: 0 / 0.5838 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004376/0.9557, allocations: 2.904 MB / 0.5866 GB, free: 136.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.958, allocations: 305.5 kB / 0.5869 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05956/1.018, allocations: 42.48 MB / 0.6284 GB, free: 89.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/1.019, allocations: 2.33 MB / 0.6307 GB, free: 87.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002806/1.022, allocations: 1.5 MB / 0.6321 GB, free: 85.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/1.024, allocations: 1.132 MB / 0.6332 GB, free: 84.76 MB / 478.1 MB Notification: Performance of SimCode: time 1.203e-06/1.024, allocations: 0 / 0.6332 GB, free: 84.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09472/1.118, allocations: 62.05 MB / 0.6938 GB, free: 22.64 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.56, allocations: 12.59 kB / 0.6939 GB, free: 22.62 MB / 478.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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