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.001174/0.001174, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001024/0.001024, allocations: 92.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002519/0.0002519, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2147, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3197, allocations: 98.02 MB / 473.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.32, allocations: 91.94 kB / 474 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3892/0.7092, allocations: 115.2 MB / 0.5754 GB, free: 41.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7093, allocations: 0 / 0.5754 GB, free: 41.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002475/0.7095, allocations: 116 kB / 0.5755 GB, free: 41 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.01655/0.7261, allocations: 6.365 MB / 0.5818 GB, free: 34.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.7262, allocations: 8.031 kB / 0.5818 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002938/0.7291, allocations: 0.9886 MB / 0.5827 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.7404, allocations: 2.738 MB / 0.5854 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/0.755, allocations: 7.577 MB / 0.5928 GB, free: 23.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.7555, allocations: 435.3 kB / 0.5932 GB, free: 22.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002668/0.7581, allocations: 0.5661 MB / 0.5938 GB, free: 22.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/0.7842, allocations: 15.07 MB / 0.6085 GB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.7844, allocations: 75.31 kB / 0.6086 GB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006925/0.7851, allocations: 267.9 kB / 0.6088 GB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.7866, allocations: 1.431 MB / 0.6102 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02408/0.8107, allocations: 13.22 MB / 0.6231 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.241/1.052, allocations: 65.76 MB / 0.6873 GB, free: 33.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/1.069, allocations: 7.381 MB / 0.6946 GB, free: 32.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01956/1.088, allocations: 14 MB / 0.7082 GB, free: 30.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.088, allocations: 65.16 kB / 0.7083 GB, free: 30 MB / 410.7 MB Notification: Performance of pre-optimization done (n=282): time 4.479e-06/1.088, allocations: 0 / 0.7083 GB, free: 30 MB / 410.7 MB Notification: Performance of matching and sorting (n=373): time 0.1438/1.232, allocations: 50.73 MB / 0.7578 GB, free: 14.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/1.232, allocations: 191.5 kB / 0.758 GB, free: 14.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006542/1.239, allocations: 4.305 MB / 0.7622 GB, free: 10.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.24, allocations: 84.83 kB / 0.7623 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.242, allocations: 3.747 MB / 0.766 GB, free: 7.062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.243, allocations: 1.354 MB / 0.7673 GB, free: 5.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/1.244, allocations: 159.4 kB / 0.7674 GB, free: 5.707 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003032/1.244, allocations: 0.6342 MB / 0.768 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.249, allocations: 4.44 MB / 0.7724 GB, free: 1.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01431/1.263, allocations: 9.006 MB / 0.7812 GB, free: 8.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008551/1.272, allocations: 6.078 MB / 0.7871 GB, free: 2.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.575e-05/1.272, allocations: 44 kB / 0.7872 GB, free: 2.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.03958/1.312, allocations: 18.68 MB / 0.8054 GB, free: 328 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/1.312, allocations: 66.66 kB / 0.8055 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.312, allocations: 144 kB / 0.8056 GB, free: 120 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2265/1.538, allocations: 6.657 MB / 0.8121 GB, free: 95.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005463/1.544, allocations: 1.716 MB / 0.8138 GB, free: 95.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04454/1.588, allocations: 36.86 MB / 0.8498 GB, free: 88.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006798/1.595, allocations: 0.5667 MB / 0.8503 GB, free: 88.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/1.597, allocations: 480.6 kB / 0.8508 GB, free: 88.12 MB / 442.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.005109/1.602, allocations: 2.87 MB / 0.8536 GB, free: 86.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000986/1.603, allocations: 477.8 kB / 0.854 GB, free: 86.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02498/1.628, allocations: 13.65 MB / 0.8674 GB, free: 82.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-05/1.628, allocations: 49.38 kB / 0.8674 GB, free: 82.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.412e-05/1.628, allocations: 26.5 kB / 0.8674 GB, free: 82.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/1.628, allocations: 15.89 kB / 0.8675 GB, free: 82.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0445/1.673, allocations: 25.88 MB / 0.8927 GB, free: 68.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.683e-05/1.673, allocations: 0 / 0.8927 GB, free: 68.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/1.675, allocations: 0.525 MB / 0.8932 GB, free: 68.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01643/1.692, allocations: 6.278 MB / 0.8994 GB, free: 63.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007672/1.692, allocations: 71.8 kB / 0.8994 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03734/1.73, allocations: 34.12 MB / 0.9328 GB, free: 31.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.73, allocations: 4 kB / 0.9328 GB, free: 31.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02924/1.759, allocations: 20.21 MB / 0.9525 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003489/1.763, allocations: 1.335 MB / 0.9538 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007854/1.763, allocations: 67.75 kB / 0.9539 GB, free: 9.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/1.766, allocations: 347.5 kB / 0.9542 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008337/1.767, allocations: 275 kB / 0.9545 GB, free: 8.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002959/1.767, allocations: 95.98 kB / 0.9546 GB, free: 8.852 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003847/1.771, allocations: 3.09 MB / 0.9576 GB, free: 5.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.771, allocations: 0 / 0.9576 GB, free: 5.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006918/1.778, allocations: 1.832 MB / 0.9594 GB, free: 3.945 MB / 442.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.2029/1.981, allocations: 21.61 MB / 0.9805 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01629/1.997, allocations: 11.81 MB / 0.992 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.997, allocations: 0.875 kB / 0.992 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008546/2.006, allocations: 5.672 MB / 0.9975 GB, free: 103.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/2.009, allocations: 0.5754 MB / 0.9981 GB, free: 103.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1288/2.138, allocations: 158.8 MB / 1.153 GB, free: 5.133 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005305/2.143, allocations: 4.51 MB / 1.158 GB, free: 1.746 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00559/2.149, allocations: 2.403 MB / 1.16 GB, free: 196 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1815/2.33, allocations: 3.1 MB / 1.163 GB, free: 142 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/2.33, allocations: 0 / 1.163 GB, free: 142 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1688/2.499, allocations: 145.5 MB / 1.305 GB, free: 49.19 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001214/2.499, allocations: 225.9 kB / 1.305 GB, free: 48.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.125/7.625, allocations: 0 / 1.305 GB, free: 48.95 MB / 490.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