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.0009861/0.0009862, allocations: 95.27 kB / 16.94 MB, free: 5.98 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.0009443/0.0009444, allocations: 183.7 kB / 17.82 MB, free: 5.645 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.564/1.564, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004319/0.0004321, allocations: 8 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09172, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01079/0.1025, allocations: 11.92 MB / 340.3 MB, free: 8.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007555/0.1101, allocations: 4.159 MB / 344.5 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/0.1135, allocations: 51.88 kB / 344.6 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.1162, allocations: 0.5405 MB / 345.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005843/0.122, allocations: 1.94 MB / 347 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.1233, allocations: 427.3 kB / 347.5 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01919/0.1425, allocations: 13.68 MB / 361.1 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.1452, allocations: 1.545 MB / 362.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.1463, allocations: 0.619 MB / 363.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.1473, allocations: 0.9151 MB / 364.2 MB, free: 100 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.1475, allocations: 84 kB / 364.3 MB, free: 16 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.1489, allocations: 0.7528 MB / 365.1 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008785/0.1498, allocations: 0.9663 MB / 366 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.1503, allocations: 0.5157 MB / 366.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.1535, allocations: 3.356 MB / 369.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1535, allocations: 0 / 369.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1536, allocations: 0 / 369.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000129/0.1537, allocations: 0 / 369.9 MB, free: 10.41 MB / 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.007738/0.1614, allocations: 2.781 MB / 372.7 MB, free: 7.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1615, allocations: 12.03 kB / 372.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007339/0.1622, allocations: 458.1 kB / 373.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006754/0.169, allocations: 1.989 MB / 375.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.1728, allocations: 1.76 MB / 376.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.173, allocations: 127.2 kB / 377 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.1733, allocations: 167.9 kB / 377.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2237/0.3971, allocations: 6.627 MB / 383.8 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.3973, allocations: 41.48 kB / 383.8 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003351/0.3976, allocations: 84.95 kB / 383.9 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/0.4007, allocations: 1.324 MB / 385.2 MB, free: 44.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/0.4142, allocations: 5.875 MB / 391.1 MB, free: 44.2 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0289/0.4432, allocations: 28.22 MB / 419.3 MB, free: 21.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005201/0.4484, allocations: 2.75 MB / 422.1 MB, free: 18.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005623/0.449, allocations: 0.6288 MB / 422.7 MB, free: 17.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4491, allocations: 51.05 kB / 422.8 MB, free: 17.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 5.601e-06/0.4491, allocations: 0 / 422.8 MB, free: 17.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06553/0.5146, allocations: 20.93 MB / 443.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5147, allocations: 145.5 kB / 443.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/0.5192, allocations: 2.961 MB / 446.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003859/0.5196, allocations: 49.7 kB / 446.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001883/0.5215, allocations: 2.103 MB / 449 MB, free: 7.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008362/0.5224, allocations: 0.5988 MB / 449.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.5227, allocations: 96 kB / 449.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003786/0.5231, allocations: 0.5126 MB / 450.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.5266, allocations: 2.196 MB / 452.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005493/0.5321, allocations: 5.143 MB / 457.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005214/0.5374, allocations: 3.292 MB / 460.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-05/0.5375, allocations: 36 kB / 460.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02763/0.5651, allocations: 10.27 MB / 471.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.5653, allocations: 52 kB / 471.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/0.5654, allocations: 104.3 kB / 471.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/0.5773, allocations: 3.508 MB / 474.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/0.5809, allocations: 1.103 MB / 475.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/0.6004, allocations: 12.46 MB / 488.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004599/0.605, allocations: 328.9 kB / 488.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000878/0.606, allocations: 308 kB / 488.9 MB, free: 13.75 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 (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.00277/0.6087, allocations: 1.475 MB / 490.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.6093, allocations: 252.7 kB / 490.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.625, allocations: 6.017 MB / 496.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.567e-05/0.6251, allocations: 21.56 kB / 496.7 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/0.6252, allocations: 12 kB / 496.7 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-05/0.6252, allocations: 11.92 kB / 496.7 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03049/0.6557, allocations: 13.23 MB / 0.498 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.152e-05/0.6558, allocations: 4 kB / 0.498 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.657, allocations: 231.6 kB / 0.4982 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/0.6706, allocations: 4.138 MB / 0.5023 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000349/0.671, allocations: 42.8 kB / 0.5023 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/0.6905, allocations: 12.54 MB / 0.5145 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6906, allocations: 256 / 0.5145 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.216/0.9066, allocations: 9.978 MB / 0.5243 GB, free: 129.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/0.9076, allocations: 317.5 kB / 0.5246 GB, free: 129.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/0.9081, allocations: 38.89 kB / 0.5246 GB, free: 129.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.9098, allocations: 193.2 kB / 0.5248 GB, free: 129.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004123/0.9102, allocations: 102.4 kB / 0.5249 GB, free: 129.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.9104, allocations: 52.78 kB / 0.525 GB, free: 129.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00293/0.9133, allocations: 1.858 MB / 0.5268 GB, free: 129.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9133, allocations: 0 / 0.5268 GB, free: 129.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004105/0.9174, allocations: 0.8478 MB / 0.5276 GB, free: 129.4 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 (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.02039/0.9378, allocations: 10.82 MB / 0.5382 GB, free: 125.9 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.009571/0.9474, allocations: 6.191 MB / 0.5442 GB, free: 123.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.9475, allocations: 0 / 0.5442 GB, free: 123.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004337/0.9518, allocations: 2.861 MB / 0.547 GB, free: 121.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.9533, allocations: 264.2 kB / 0.5473 GB, free: 121.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06124/1.015, allocations: 101 MB / 0.6459 GB, free: 22.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/1.017, allocations: 2.373 MB / 0.6482 GB, free: 19.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003109/1.02, allocations: 1.527 MB / 0.6497 GB, free: 18.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.021, allocations: 1.129 MB / 0.6508 GB, free: 16.99 MB / 414.1 MB Notification: Performance of SimCode: time 2.705e-06/1.021, allocations: 0 / 0.6508 GB, free: 16.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2964/1.317, allocations: 68.51 MB / 0.7177 GB, free: 127.6 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.317, allocations: 215 kB / 0.7179 GB, free: 127.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/5.03, allocations: 0 / 0.7179 GB, free: 127.4 MB / 430.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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat