Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008104/0.0008107, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00076/0.0007601, allocations: 88.73 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003041, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1863, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009591/0.1959, allocations: 12.57 MB / 387.8 MB, free: 35.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006529/0.2025, allocations: 4.068 MB / 391.8 MB, free: 32.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.2044, allocations: 51.88 kB / 391.9 MB, free: 31.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.2059, allocations: 0.6026 MB / 392.5 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.2103, allocations: 2.195 MB / 394.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.2113, allocations: 475.2 kB / 395.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01644/0.2277, allocations: 17.67 MB / 412.8 MB, free: 11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.2297, allocations: 1.601 MB / 414.4 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.2307, allocations: 0.7394 MB / 415.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.232, allocations: 1.242 MB / 416.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.2324, allocations: 84 kB / 416.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.2338, allocations: 0.9281 MB / 417.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008997/0.2347, allocations: 1.04 MB / 418.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.2359, allocations: 1.163 MB / 419.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.2383, allocations: 3.36 MB / 423 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2383, allocations: 4 kB / 423 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2383, allocations: 0 / 423 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001237/0.2385, allocations: 0 / 423 MB, free: 0.7773 MB / 298.7 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.00581/0.2443, allocations: 2.754 MB / 425.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2443, allocations: 12.03 kB / 425.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006724/0.245, allocations: 462.3 kB / 426.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005458/0.2505, allocations: 1.713 MB / 427.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.2536, allocations: 1.983 MB / 429.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.2537, allocations: 123.2 kB / 430 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.254, allocations: 171.8 kB / 430.2 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008262/0.2623, allocations: 6.592 MB / 436.8 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.2623, allocations: 39.66 kB / 436.8 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.2626, allocations: 83.89 kB / 436.9 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001837/0.2644, allocations: 1.339 MB / 438.2 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008447/0.2729, allocations: 5.816 MB / 444 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02709/0.3, allocations: 28.11 MB / 472.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/0.3056, allocations: 2.748 MB / 474.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.3071, allocations: 1.27 MB / 476.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/0.3077, allocations: 0.6317 MB / 476.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3078, allocations: 47.05 kB / 476.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.396e-06/0.3078, allocations: 0 / 476.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=154): time 0.06921/0.377, allocations: 20.64 MB / 497.5 MB, free: 4.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.3771, allocations: 149.4 kB / 497.6 MB, free: 4.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/0.3811, allocations: 2.845 MB / 0.4887 GB, free: 1.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.3814, allocations: 45.7 kB / 0.4888 GB, free: 1.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1373/0.5187, allocations: 2.103 MB / 0.4908 GB, free: 110.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006205/0.5193, allocations: 0.6014 MB / 0.4914 GB, free: 110.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.5196, allocations: 100.4 kB / 0.4915 GB, free: 110.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.5198, allocations: 0.5105 MB / 0.492 GB, free: 110.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/0.5229, allocations: 2.192 MB / 0.4942 GB, free: 109.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.5264, allocations: 5.157 MB / 0.4992 GB, free: 104.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006594/0.533, allocations: 7.951 MB / 0.507 GB, free: 98.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.906e-05/0.5331, allocations: 30.19 kB / 0.507 GB, free: 98.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.01823/0.5513, allocations: 10.28 MB / 0.517 GB, free: 92.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.5514, allocations: 52 kB / 0.5171 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-05/0.5515, allocations: 104 kB / 0.5172 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.5623, allocations: 3.496 MB / 0.5206 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.565, allocations: 1.096 MB / 0.5217 GB, free: 87.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.5797, allocations: 12.05 MB / 0.5334 GB, free: 75.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/0.5831, allocations: 335.5 kB / 0.5338 GB, free: 75.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/0.5836, allocations: 309.4 kB / 0.534 GB, free: 74.79 MB / 378.7 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.001808/0.5855, allocations: 1.46 MB / 0.5355 GB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.5858, allocations: 256.2 kB / 0.5357 GB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.5996, allocations: 6.033 MB / 0.5416 GB, free: 67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/0.5997, allocations: 19.42 kB / 0.5416 GB, free: 66.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/0.5997, allocations: 8 kB / 0.5416 GB, free: 66.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.5997, allocations: 7.969 kB / 0.5416 GB, free: 66.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/0.6234, allocations: 13.21 MB / 0.5545 GB, free: 53.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.6234, allocations: 0 / 0.5545 GB, free: 53.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6245, allocations: 232.4 kB / 0.5548 GB, free: 53.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01119/0.6357, allocations: 4.137 MB / 0.5588 GB, free: 49.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/0.6359, allocations: 43.95 kB / 0.5589 GB, free: 49.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.6507, allocations: 12.09 MB / 0.5707 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6507, allocations: 0 / 0.5707 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/0.6679, allocations: 9.935 MB / 0.5804 GB, free: 27.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.6684, allocations: 309.6 kB / 0.5807 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/0.6689, allocations: 40.48 kB / 0.5807 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.6704, allocations: 187.7 kB / 0.5809 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004628/0.6709, allocations: 116.8 kB / 0.581 GB, free: 26.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.6711, allocations: 47.97 kB / 0.581 GB, free: 26.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002121/0.6732, allocations: 1.759 MB / 0.5827 GB, free: 24.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6732, allocations: 3.938 kB / 0.5827 GB, free: 24.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003234/0.6764, allocations: 0.8217 MB / 0.5836 GB, free: 23.82 MB / 378.7 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.01729/0.6937, allocations: 10.57 MB / 0.5939 GB, free: 13.19 MB / 378.7 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.008226/0.702, allocations: 6.187 MB / 0.5999 GB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.702, allocations: 0 / 0.5999 GB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004043/0.706, allocations: 2.864 MB / 0.6027 GB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.7079, allocations: 287.1 kB / 0.603 GB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04904/0.757, allocations: 29.34 MB / 0.6316 GB, free: 3.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/0.7595, allocations: 2.333 MB / 0.6339 GB, free: 1.176 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/0.761, allocations: 1.163 MB / 0.6351 GB, free: 12 kB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.761, allocations: 0 / 0.6351 GB, free: 12 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.138/7.899, allocations: 138 MB / 0.7699 GB, free: 30.99 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches