Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001272/0.001272, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009662/0.0009659, allocations: 98.02 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 4 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2671, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.3843, allocations: 100.1 MB / 0.4977 GB, free: 6.465 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.3846, allocations: 93.8 kB / 0.4978 GB, free: 6.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4631/0.8477, allocations: 121.5 MB / 0.6164 GB, free: 9.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8478, allocations: 0 / 0.6164 GB, free: 9.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002734/0.848, allocations: 108 kB / 0.6165 GB, free: 9.176 MB / 394.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.01884/0.8669, allocations: 6.408 MB / 0.6227 GB, free: 2.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.867, allocations: 8.031 kB / 0.6227 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004756/0.8717, allocations: 0.9847 MB / 0.6237 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.8846, allocations: 2.746 MB / 0.6264 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/0.901, allocations: 6.355 MB / 0.6326 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.9014, allocations: 431.3 kB / 0.633 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002366/0.9038, allocations: 0.5583 MB / 0.6335 GB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03028/0.9341, allocations: 15.08 MB / 0.6483 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002514/0.9344, allocations: 79.27 kB / 0.6483 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.9354, allocations: 259.9 kB / 0.6486 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002062/0.9374, allocations: 1.435 MB / 0.65 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02643/0.9639, allocations: 13.22 MB / 0.6629 GB, free: 8.352 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2706/1.235, allocations: 65.68 MB / 0.727 GB, free: 41.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/1.251, allocations: 7.391 MB / 0.7343 GB, free: 40.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01888/1.27, allocations: 13.96 MB / 0.7479 GB, free: 36.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.27, allocations: 63.11 kB / 0.748 GB, free: 36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 5.48e-06/1.27, allocations: 0 / 0.748 GB, free: 36 MB / 442.7 MB Notification: Performance of matching and sorting (n=373): time 0.1389/1.409, allocations: 50.56 MB / 0.7973 GB, free: 12.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/1.409, allocations: 189.9 kB / 0.7975 GB, free: 12.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/1.414, allocations: 4.251 MB / 0.8017 GB, free: 9.004 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005744/1.414, allocations: 83.7 kB / 0.8017 GB, free: 8.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.416, allocations: 3.748 MB / 0.8054 GB, free: 5.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.417, allocations: 1.349 MB / 0.8067 GB, free: 4.508 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/1.417, allocations: 156 kB / 0.8069 GB, free: 4.355 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002733/1.418, allocations: 0.634 MB / 0.8075 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004856/1.423, allocations: 4.443 MB / 0.8118 GB, free: 8 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008092/1.431, allocations: 8.473 MB / 0.8201 GB, free: 6.398 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008504/1.439, allocations: 6.082 MB / 0.826 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.949e-05/1.439, allocations: 40.94 kB / 0.8261 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.2808/1.72, allocations: 18.68 MB / 0.8443 GB, free: 97.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/1.72, allocations: 67.56 kB / 0.8444 GB, free: 97.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/1.72, allocations: 137.4 kB / 0.8445 GB, free: 97.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01752/1.738, allocations: 6.663 MB / 0.851 GB, free: 97.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00597/1.744, allocations: 1.713 MB / 0.8527 GB, free: 97.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04374/1.788, allocations: 36.87 MB / 0.8887 GB, free: 92.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00661/1.794, allocations: 0.5628 MB / 0.8893 GB, free: 92.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.796, allocations: 479.8 kB / 0.8897 GB, free: 91.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 852 * 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,67.9%) 100,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005797/1.802, allocations: 2.863 MB / 0.8925 GB, free: 90.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.803, allocations: 472 kB / 0.893 GB, free: 90.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/1.828, allocations: 13.65 MB / 0.9063 GB, free: 86.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.537e-05/1.828, allocations: 46.34 kB / 0.9063 GB, free: 86.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-05/1.828, allocations: 23.69 kB / 0.9064 GB, free: 86.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-05/1.828, allocations: 24.77 kB / 0.9064 GB, free: 86.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04364/1.872, allocations: 25.84 MB / 0.9316 GB, free: 75.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/1.872, allocations: 4 kB / 0.9316 GB, free: 75.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/1.874, allocations: 0.5221 MB / 0.9321 GB, free: 74.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/1.891, allocations: 6.275 MB / 0.9383 GB, free: 70.44 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009197/1.892, allocations: 74.05 kB / 0.9383 GB, free: 70.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03788/1.93, allocations: 34.12 MB / 0.9717 GB, free: 39.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.93, allocations: 10.28 kB / 0.9717 GB, free: 39.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03014/1.96, allocations: 20.2 MB / 0.9914 GB, free: 19.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.961, allocations: 0.5451 MB / 0.9919 GB, free: 18.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/1.963, allocations: 67.05 kB / 0.992 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003293/1.966, allocations: 347.5 kB / 0.9923 GB, free: 18.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/1.967, allocations: 268.6 kB / 0.9926 GB, free: 18.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003109/1.968, allocations: 96.86 kB / 0.9927 GB, free: 18.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004187/1.972, allocations: 3.059 MB / 0.9957 GB, free: 15.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.972, allocations: 0 / 0.9957 GB, free: 15.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008002/1.98, allocations: 1.831 MB / 0.9974 GB, free: 13.34 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 218 * 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 {(8,70.3%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2562/2.236, allocations: 21.62 MB / 1.019 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01776/2.254, allocations: 11.81 MB / 1.03 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/2.254, allocations: 0.9375 kB / 1.03 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007878/2.262, allocations: 5.684 MB / 1.036 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/2.265, allocations: 0.559 MB / 1.036 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1338/2.399, allocations: 158.6 MB / 1.191 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2425/2.641, allocations: 4.567 MB / 1.195 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00799/2.649, allocations: 2.4 MB / 1.198 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005701/2.655, allocations: 2.627 MB / 1.2 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.352e-06/2.655, allocations: 0 / 1.2 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1873/2.842, allocations: 145.1 MB / 1.342 GB, free: 41.24 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/2.843, allocations: 229.4 kB / 1.342 GB, free: 41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.598/8.441, allocations: 0 / 1.342 GB, free: 41 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat