Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001512/0.001512, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001656/0.001656, allocations: 98.84 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004401, allocations: 12 kB / 327.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3406, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.505, allocations: 98.03 MB / 472.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.5054, allocations: 99.94 kB / 472.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7231/1.229, allocations: 115.2 MB / 0.5742 GB, free: 41.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.516e-06/1.229, allocations: 3.938 kB / 0.5742 GB, free: 41.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003813/1.229, allocations: 116 kB / 0.5743 GB, free: 41.14 MB / 378.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.02783/1.257, allocations: 6.365 MB / 0.5805 GB, free: 34.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.257, allocations: 12.03 kB / 0.5805 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004595/1.262, allocations: 0.9847 MB / 0.5815 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02149/1.283, allocations: 2.734 MB / 0.5842 GB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02353/1.307, allocations: 7.581 MB / 0.5916 GB, free: 23.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004573/1.307, allocations: 431.3 kB / 0.592 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003097/1.31, allocations: 0.5622 MB / 0.5925 GB, free: 22.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04596/1.356, allocations: 15.08 MB / 0.6073 GB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006303/1.357, allocations: 75.25 kB / 0.6073 GB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003272/1.36, allocations: 271.9 kB / 0.6076 GB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005229/1.366, allocations: 1.431 MB / 0.609 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04444/1.41, allocations: 13.22 MB / 0.6219 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4245/1.835, allocations: 65.75 MB / 0.6861 GB, free: 33.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03197/1.867, allocations: 7.387 MB / 0.6933 GB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0323/1.899, allocations: 13.99 MB / 0.707 GB, free: 30.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/1.899, allocations: 70.66 kB / 0.707 GB, free: 30.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=282): time 6.633e-06/1.899, allocations: 0 / 0.707 GB, free: 30.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=373): time 0.2835/2.183, allocations: 50.73 MB / 0.7566 GB, free: 14.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/2.183, allocations: 195.1 kB / 0.7568 GB, free: 14.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008578/2.191, allocations: 4.304 MB / 0.761 GB, free: 10.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001209/2.193, allocations: 81.7 kB / 0.7611 GB, free: 10.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002857/2.195, allocations: 3.62 MB / 0.7646 GB, free: 7.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002521/2.198, allocations: 1.35 MB / 0.7659 GB, free: 6.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/2.199, allocations: 156 kB / 0.7661 GB, free: 6.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004669/2.2, allocations: 0.6352 MB / 0.7667 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01058/2.21, allocations: 4.443 MB / 0.771 GB, free: 1.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02408/2.234, allocations: 8.955 MB / 0.7798 GB, free: 9.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01663/2.251, allocations: 6.074 MB / 0.7857 GB, free: 3.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/2.251, allocations: 44 kB / 0.7857 GB, free: 3.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.07083/2.322, allocations: 18.52 MB / 0.8038 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/2.322, allocations: 68 kB / 0.8039 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002753/2.323, allocations: 140 kB / 0.804 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03684/2.359, allocations: 6.663 MB / 0.8105 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01172/2.371, allocations: 1.719 MB / 0.8122 GB, free: 8.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4031/2.774, allocations: 36.85 MB / 0.8482 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/2.785, allocations: 0.5651 MB / 0.8487 GB, free: 106.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002203/2.788, allocations: 479.4 kB / 0.8492 GB, free: 106.6 MB / 458.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.008288/2.796, allocations: 2.872 MB / 0.852 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.797, allocations: 472.2 kB / 0.8525 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0469/2.844, allocations: 13.66 MB / 0.8658 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.559e-05/2.844, allocations: 39.19 kB / 0.8658 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.456e-05/2.844, allocations: 27.52 kB / 0.8659 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-05/2.845, allocations: 19.62 kB / 0.8659 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07885/2.923, allocations: 25.88 MB / 0.8911 GB, free: 91.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-05/2.924, allocations: 7.516 kB / 0.8911 GB, free: 91.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004645/2.928, allocations: 0.5191 MB / 0.8917 GB, free: 91.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03293/2.961, allocations: 6.289 MB / 0.8978 GB, free: 90.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001518/2.963, allocations: 69.84 kB / 0.8979 GB, free: 90.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0792/3.042, allocations: 34.11 MB / 0.9312 GB, free: 62.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/3.042, allocations: 7.375 kB / 0.9312 GB, free: 62.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06113/3.103, allocations: 20.2 MB / 0.9509 GB, free: 42.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005025/3.108, allocations: 1.338 MB / 0.9522 GB, free: 40.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/3.11, allocations: 64 kB / 0.9523 GB, free: 40.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006857/3.117, allocations: 348.3 kB / 0.9526 GB, free: 40.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002201/3.12, allocations: 273 kB / 0.9529 GB, free: 40.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008458/3.12, allocations: 95.98 kB / 0.953 GB, free: 40.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007568/3.128, allocations: 3.092 MB / 0.956 GB, free: 36.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.673e-06/3.128, allocations: 1.219 kB / 0.956 GB, free: 36.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01101/3.139, allocations: 1.841 MB / 0.9578 GB, free: 35.15 MB / 458.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.06152/3.201, allocations: 21.61 MB / 0.9789 GB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3392/3.54, allocations: 11.82 MB / 0.9904 GB, free: 113 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/3.54, allocations: 3.875 kB / 0.9904 GB, free: 113 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01537/3.555, allocations: 5.667 MB / 0.996 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/3.561, allocations: 0.5646 MB / 0.9965 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2036/3.764, allocations: 159.5 MB / 1.152 GB, free: 3.094 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/3.776, allocations: 4.517 MB / 1.157 GB, free: 1.477 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3262/4.102, allocations: 2.861 MB / 1.16 GB, free: 127 MB / 474.7 MB Notification: Performance of SimCode: time 1.272e-06/4.102, allocations: 3.875 kB / 1.16 GB, free: 127 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.699/9.801, allocations: 247.3 MB / 1.401 GB, free: 96.08 MB / 474.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat