Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001234/0.001234, allocations: 107.6 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.08 kB / 306.6 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.08288, allocations: 50.52 MB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01204/0.09494, allocations: 13.95 MB / 371 MB, free: 68 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1476/0.2426, allocations: 4.297 MB / 375.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.2441, allocations: 52.19 kB / 375.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.2457, allocations: 0.846 MB / 376.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.2483, allocations: 1.267 MB / 377.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009338/0.2492, allocations: 0.4948 MB / 378 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004322/0.2536, allocations: 3.883 MB / 381.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.2552, allocations: 1.385 MB / 383.3 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.2563, allocations: 0.8297 MB / 384.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.2576, allocations: 1.376 MB / 385.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.2579, allocations: 178 kB / 385.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.2593, allocations: 0.9798 MB / 386.6 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008061/0.2601, allocations: 1.136 MB / 387.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008894/0.261, allocations: 1.318 MB / 389.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.2644, allocations: 4.268 MB / 393.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2644, allocations: 0 / 393.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2644, allocations: 0 / 393.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.793e-05/0.2644, allocations: 0 / 393.3 MB, free: 1.676 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.006594/0.271, allocations: 3.367 MB / 396.7 MB, free: 15.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2711, allocations: 8.969 kB / 396.7 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004487/0.2715, allocations: 458.7 kB / 397.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/0.277, allocations: 1.668 MB / 398.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.2797, allocations: 1.707 MB / 400.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.2798, allocations: 128.3 kB / 400.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.2801, allocations: 164.2 kB / 400.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007961/0.2881, allocations: 6.597 MB / 407.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/0.2882, allocations: 39.73 kB / 407.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.2884, allocations: 83.97 kB / 407.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/0.2902, allocations: 1.329 MB / 408.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00874/0.2989, allocations: 5.837 MB / 414.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/0.3268, allocations: 28.08 MB / 442.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005387/0.3322, allocations: 2.735 MB / 445.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.3336, allocations: 1.27 MB / 446.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/0.3342, allocations: 0.6323 MB / 447.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3342, allocations: 55.06 kB / 447.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 3.056e-06/0.3343, allocations: 0 / 447.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.06553/0.3998, allocations: 20.54 MB / 468 MB, free: 8.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3999, allocations: 141.5 kB / 468.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.404, allocations: 2.84 MB / 471 MB, free: 5.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.4043, allocations: 45.7 kB / 471 MB, free: 5.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.4056, allocations: 2.095 MB / 473.1 MB, free: 3.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/0.4062, allocations: 0.6048 MB / 473.7 MB, free: 2.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001511/0.4078, allocations: 1.004 MB / 474.7 MB, free: 1.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.4078, allocations: 301.1 kB / 475 MB, free: 1.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.4107, allocations: 2.219 MB / 477.2 MB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004362/0.415, allocations: 5.177 MB / 482.4 MB, free: 8.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007725/0.4228, allocations: 7.968 MB / 490.4 MB, free: 14.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.809e-05/0.4229, allocations: 36 kB / 490.4 MB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02091/0.4438, allocations: 10.28 MB / 0.489 GB, free: 4.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.4439, allocations: 52 kB / 0.489 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.444, allocations: 104.1 kB / 0.4891 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/0.4551, allocations: 3.441 MB / 0.4925 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/0.4583, allocations: 1.1 MB / 0.4936 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.4765, allocations: 12.84 MB / 0.5061 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/0.4803, allocations: 335.4 kB / 0.5064 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007381/0.481, allocations: 304 kB / 0.5067 GB, free: 2.328 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.002546/0.4836, allocations: 1.484 MB / 0.5082 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/0.4841, allocations: 244.8 kB / 0.5084 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/0.4992, allocations: 6.004 MB / 0.5143 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.4993, allocations: 16 kB / 0.5143 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.4993, allocations: 8 kB / 0.5143 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.4994, allocations: 16.19 kB / 0.5143 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1812/0.6806, allocations: 13.17 MB / 0.5272 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/0.6806, allocations: 6.688 kB / 0.5272 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.6818, allocations: 231 kB / 0.5274 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01167/0.6934, allocations: 4.017 MB / 0.5313 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/0.6937, allocations: 45.55 kB / 0.5314 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/0.7093, allocations: 12.84 MB / 0.5439 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7093, allocations: 2.344 kB / 0.5439 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/0.7257, allocations: 9.886 MB / 0.5535 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.7261, allocations: 302.7 kB / 0.5538 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/0.7265, allocations: 39.17 kB / 0.5539 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.7279, allocations: 185.2 kB / 0.554 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.7282, allocations: 110.6 kB / 0.5542 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.7284, allocations: 54.59 kB / 0.5542 GB, free: 134.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001782/0.7302, allocations: 1.758 MB / 0.5559 GB, free: 133.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7302, allocations: 0 / 0.5559 GB, free: 133.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002859/0.733, allocations: 0.8143 MB / 0.5567 GB, free: 133.2 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.01626/0.7493, allocations: 10.53 MB / 0.567 GB, free: 123.4 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.008538/0.7579, allocations: 6.768 MB / 0.5736 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7579, allocations: 0 / 0.5736 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004043/0.7619, allocations: 2.857 MB / 0.5764 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.7637, allocations: 292.5 kB / 0.5767 GB, free: 113.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05911/0.8228, allocations: 45.94 MB / 0.6215 GB, free: 61.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.8249, allocations: 2.302 MB / 0.6238 GB, free: 59.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002734/0.8276, allocations: 1.534 MB / 0.6253 GB, free: 58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.8287, allocations: 1.126 MB / 0.6264 GB, free: 56.87 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8288, allocations: 0 / 0.6264 GB, free: 56.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.593/4.421, allocations: 64.96 MB / 0.6898 GB, free: 8.176 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004168/4.422, allocations: 234.6 kB / 0.6901 GB, free: 7.926 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.642/8.064, allocations: 0 / 0.6901 GB, free: 7.926 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches