Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",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.001495/0.001495, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000819/0.000819, allocations: 92.09 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.229e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 47.59 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.539, allocations: 97.51 MB / 460.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5394, allocations: 91.66 kB / 460.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5493/1.089, allocations: 112.9 MB / 0.5603 GB, free: 86.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.646e-06/1.089, allocations: 8.625 kB / 0.5603 GB, free: 86.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004148/1.089, allocations: 116.8 kB / 0.5604 GB, free: 86.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02471/1.114, allocations: 5.977 MB / 0.5662 GB, free: 84.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/1.114, allocations: 14.38 kB / 0.5662 GB, free: 84.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/1.128, allocations: 2.729 MB / 0.5689 GB, free: 84.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02159/1.15, allocations: 7.543 MB / 0.5763 GB, free: 83.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005495/1.151, allocations: 182.9 kB / 0.5764 GB, free: 83.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004627/1.155, allocations: 344.6 kB / 0.5768 GB, free: 83.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0213/1.177, allocations: 9.516 MB / 0.5861 GB, free: 81.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03432/1.211, allocations: 13.07 MB / 0.5988 GB, free: 75.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004211/1.211, allocations: 82.28 kB / 0.5989 GB, free: 75.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002851/1.214, allocations: 37.16 kB / 0.5989 GB, free: 75.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002378/1.217, allocations: 1.431 MB / 0.6003 GB, free: 74.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07766/1.294, allocations: 63.7 MB / 0.6625 GB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007895/1.302, allocations: 6.212 MB / 0.6686 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005612/1.308, allocations: 4.738 MB / 0.6732 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/1.309, allocations: 1.295 MB / 0.6745 GB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/1.309, allocations: 60.7 kB / 0.6745 GB, free: 4.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 8.245e-06/1.309, allocations: 0 / 0.6745 GB, free: 4.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.4273/1.737, allocations: 37.09 MB / 0.7108 GB, free: 91.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.737, allocations: 171.6 kB / 0.7109 GB, free: 91.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007151/1.744, allocations: 3.627 MB / 0.7145 GB, free: 91.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001574/1.746, allocations: 29.58 kB / 0.7145 GB, free: 91.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002886/1.749, allocations: 3.791 MB / 0.7182 GB, free: 89.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0032/1.752, allocations: 1.335 MB / 0.7195 GB, free: 88.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/1.753, allocations: 0 / 0.7195 GB, free: 88.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005747/1.754, allocations: 0.6434 MB / 0.7201 GB, free: 88.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007086/1.761, allocations: 4.294 MB / 0.7243 GB, free: 88.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.771, allocations: 8.415 MB / 0.7325 GB, free: 82.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009937/1.781, allocations: 5.988 MB / 0.7384 GB, free: 80.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002099/1.781, allocations: 43.78 kB / 0.7384 GB, free: 80.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.04147/1.823, allocations: 17.74 MB / 0.7558 GB, free: 74.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002212/1.823, allocations: 69.19 kB / 0.7558 GB, free: 74.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000313/1.823, allocations: 145.2 kB / 0.756 GB, free: 74.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01884/1.842, allocations: 6.459 MB / 0.7623 GB, free: 73.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007532/1.85, allocations: 1.771 MB / 0.764 GB, free: 73.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04464/1.895, allocations: 33.74 MB / 0.797 GB, free: 49.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009428/1.904, allocations: 441.1 kB / 0.7974 GB, free: 49.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002669/1.907, allocations: 494.3 kB / 0.7978 GB, free: 49.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (890): * Single equations (assignments): 882 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001968/1.909, allocations: 493.3 kB / 0.7983 GB, free: 48.75 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02507/1.934, allocations: 13.16 MB / 0.8112 GB, free: 38.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/1.936, allocations: 443.3 kB / 0.8116 GB, free: 37.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02669/1.963, allocations: 13.31 MB / 0.8246 GB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-05/1.963, allocations: 40.7 kB / 0.8246 GB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.897e-05/1.963, allocations: 24 kB / 0.8246 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.711e-05/1.963, allocations: 23.92 kB / 0.8247 GB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0493/2.012, allocations: 24.77 MB / 0.8489 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/2.013, allocations: 7.75 kB / 0.8489 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002804/2.015, allocations: 0.5304 MB / 0.8494 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.371/2.386, allocations: 6.236 MB / 0.8555 GB, free: 97.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00141/2.388, allocations: 21.42 kB / 0.8555 GB, free: 97.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04447/2.432, allocations: 30.59 MB / 0.8854 GB, free: 93.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/2.432, allocations: 7.766 kB / 0.8854 GB, free: 93.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03367/2.466, allocations: 19.66 MB / 0.9046 GB, free: 85.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004154/2.47, allocations: 1.289 MB / 0.9058 GB, free: 85.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/2.472, allocations: 6.094 kB / 0.9058 GB, free: 85.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/2.476, allocations: 292.3 kB / 0.9061 GB, free: 85.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/2.477, allocations: 262.8 kB / 0.9064 GB, free: 85.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003094/2.477, allocations: 106.5 kB / 0.9065 GB, free: 85.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003985/2.481, allocations: 2.456 MB / 0.9089 GB, free: 84.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.481, allocations: 0 / 0.9089 GB, free: 84.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01003/2.491, allocations: 1.609 MB / 0.9104 GB, free: 84.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 223 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03136/2.522, allocations: 21.06 MB / 0.931 GB, free: 75.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01643/2.539, allocations: 11.24 MB / 0.942 GB, free: 66.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.539, allocations: 0 / 0.942 GB, free: 66.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007555/2.546, allocations: 5.487 MB / 0.9473 GB, free: 61.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/2.55, allocations: 444.4 kB / 0.9478 GB, free: 60.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04052/2.59, allocations: 15.57 MB / 0.963 GB, free: 47.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004593/2.595, allocations: 4.514 MB / 0.9674 GB, free: 44.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005926/2.601, allocations: 2.464 MB / 0.9698 GB, free: 42.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003089/2.604, allocations: 2.616 MB / 0.9723 GB, free: 40.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/2.604, allocations: 0.9844 kB / 0.9723 GB, free: 40.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5032/3.107, allocations: 135.9 MB / 1.105 GB, free: 52.76 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/3.107, allocations: 164.1 kB / 1.105 GB, free: 52.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.153/9.261, allocations: 4.031 kB / 1.105 GB, free: 52.57 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat