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.001855/0.001855, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008662/0.000866, allocations: 88.78 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.443e-05, allocations: 4 kB / 343.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 51.49 MB / 395.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.5391, allocations: 99.38 MB / 494.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5395, allocations: 90.48 kB / 494.7 MB, free: 9.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6164/1.156, allocations: 119.3 MB / 0.5996 GB, free: 71.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.436e-06/1.156, allocations: 0 / 0.5996 GB, free: 71.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004876/1.156, allocations: 114.2 kB / 0.5997 GB, free: 71.7 MB / 442.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.0321/1.189, allocations: 6.025 MB / 0.6056 GB, free: 69.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.189, allocations: 9.562 kB / 0.6056 GB, free: 69.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02003/1.209, allocations: 2.753 MB / 0.6083 GB, free: 69.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/1.229, allocations: 6.31 MB / 0.6145 GB, free: 68.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007075/1.23, allocations: 184.1 kB / 0.6147 GB, free: 68.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004735/1.234, allocations: 352.4 kB / 0.615 GB, free: 68.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03302/1.268, allocations: 9.512 MB / 0.6243 GB, free: 68.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03973/1.307, allocations: 13.07 MB / 0.6371 GB, free: 63.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003985/1.308, allocations: 77.22 kB / 0.6371 GB, free: 63.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002041/1.31, allocations: 34 kB / 0.6372 GB, free: 63.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002106/1.312, allocations: 1.429 MB / 0.6386 GB, free: 63.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08216/1.394, allocations: 63.62 MB / 0.7007 GB, free: 19.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009364/1.404, allocations: 6.22 MB / 0.7068 GB, free: 16.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005967/1.41, allocations: 4.731 MB / 0.7114 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/1.411, allocations: 1.299 MB / 0.7126 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/1.411, allocations: 65.66 kB / 0.7127 GB, free: 12.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 6.663e-06/1.411, allocations: 0 / 0.7127 GB, free: 12.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=378): time 0.4437/1.855, allocations: 36.97 MB / 0.7488 GB, free: 80.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/1.855, allocations: 165.8 kB / 0.749 GB, free: 80.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009568/1.865, allocations: 3.583 MB / 0.7525 GB, free: 79.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001523/1.866, allocations: 33.06 kB / 0.7525 GB, free: 79.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004259/1.87, allocations: 3.787 MB / 0.7562 GB, free: 78.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003139/1.874, allocations: 1.323 MB / 0.7575 GB, free: 77.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00204/1.876, allocations: 0 / 0.7575 GB, free: 77.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001112/1.877, allocations: 0.6461 MB / 0.7581 GB, free: 77.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008037/1.885, allocations: 4.294 MB / 0.7623 GB, free: 77.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/1.899, allocations: 8.417 MB / 0.7705 GB, free: 72.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/1.912, allocations: 5.987 MB / 0.7764 GB, free: 72.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004135/1.913, allocations: 42.84 kB / 0.7764 GB, free: 72.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.05207/1.965, allocations: 17.75 MB / 0.7938 GB, free: 70.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003713/1.965, allocations: 67.22 kB / 0.7938 GB, free: 70.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005153/1.966, allocations: 145.1 kB / 0.794 GB, free: 70.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/1.99, allocations: 6.461 MB / 0.8003 GB, free: 69.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007422/1.997, allocations: 1.772 MB / 0.802 GB, free: 68.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05503/2.052, allocations: 33.75 MB / 0.835 GB, free: 53.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009596/2.062, allocations: 430.9 kB / 0.8354 GB, free: 53.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002873/2.065, allocations: 493.5 kB / 0.8358 GB, free: 53.41 MB / 458.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.004138/2.069, allocations: 497.7 kB / 0.8363 GB, free: 53.01 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03003/2.099, allocations: 13.16 MB / 0.8492 GB, free: 48.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002507/2.102, allocations: 446.9 kB / 0.8496 GB, free: 48.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03363/2.135, allocations: 13.3 MB / 0.8626 GB, free: 44.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001204/2.136, allocations: 39.62 kB / 0.8626 GB, free: 44.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001094/2.136, allocations: 34.95 kB / 0.8626 GB, free: 44.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001305/2.136, allocations: 17.02 kB / 0.8627 GB, free: 44.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06079/2.197, allocations: 24.74 MB / 0.8868 GB, free: 25.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.872e-05/2.197, allocations: 4 kB / 0.8868 GB, free: 25.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/2.2, allocations: 0.5282 MB / 0.8873 GB, free: 25.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01772/2.217, allocations: 6.239 MB / 0.8934 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001505/2.219, allocations: 19.97 kB / 0.8935 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4184/2.637, allocations: 30.59 MB / 0.9233 GB, free: 85.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/2.637, allocations: 2.312 kB / 0.9233 GB, free: 85.96 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04348/2.681, allocations: 19.67 MB / 0.9425 GB, free: 84.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/2.683, allocations: 499.5 kB / 0.943 GB, free: 84.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002673/2.686, allocations: 5.562 kB / 0.943 GB, free: 84.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00541/2.691, allocations: 291.6 kB / 0.9433 GB, free: 84.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002365/2.693, allocations: 266.4 kB / 0.9435 GB, free: 84.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001242/2.695, allocations: 97.66 kB / 0.9436 GB, free: 84.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007937/2.703, allocations: 2.425 MB / 0.946 GB, free: 84.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.703, allocations: 1.688 kB / 0.946 GB, free: 84.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01542/2.718, allocations: 1.602 MB / 0.9476 GB, free: 84.41 MB / 474.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.04945/2.768, allocations: 21.08 MB / 0.9682 GB, free: 78.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02208/2.79, allocations: 11.23 MB / 0.9791 GB, free: 73.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.79, allocations: 2.344 kB / 0.9791 GB, free: 73.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01028/2.8, allocations: 5.478 MB / 0.9845 GB, free: 71.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005941/2.806, allocations: 443.7 kB / 0.9849 GB, free: 70.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05076/2.857, allocations: 15.53 MB / 1 GB, free: 65.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006863/2.864, allocations: 4.507 MB / 1.004 GB, free: 64.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00746/2.871, allocations: 2.453 MB / 1.007 GB, free: 64.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005334/2.877, allocations: 2.618 MB / 1.009 GB, free: 61.87 MB / 474.7 MB Notification: Performance of SimCode: time 2.154e-06/2.877, allocations: 4 kB / 1.009 GB, free: 61.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5507/3.428, allocations: 135.6 MB / 1.142 GB, free: 78.71 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/3.428, allocations: 168 kB / 1.142 GB, free: 78.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.936/9.363, allocations: 0 / 1.142 GB, free: 78.52 MB / 474.7 MB (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