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.001656/0.001656, allocations: 196.9 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 88.48 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-05/4.678e-05, allocations: 4 kB / 350.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 51.47 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4661/0.5989, allocations: 100 MB / 0.4904 GB, free: 5.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5993, allocations: 90.02 kB / 0.4905 GB, free: 5.633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6032/1.203, allocations: 121.5 MB / 0.6091 GB, free: 76.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.203, allocations: 0 / 0.6091 GB, free: 76.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004511/1.203, allocations: 118.2 kB / 0.6093 GB, free: 76.54 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.02599/1.229, allocations: 6.028 MB / 0.6151 GB, free: 74.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.229, allocations: 9.531 kB / 0.6152 GB, free: 74.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005209/1.234, allocations: 0.9884 MB / 0.6161 GB, free: 74.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/1.25, allocations: 2.75 MB / 0.6188 GB, free: 73.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/1.27, allocations: 6.322 MB / 0.625 GB, free: 73.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000662/1.271, allocations: 432.9 kB / 0.6254 GB, free: 73.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004024/1.275, allocations: 0.5676 MB / 0.6259 GB, free: 73.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04128/1.316, allocations: 14.96 MB / 0.6406 GB, free: 68.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003716/1.317, allocations: 78.34 kB / 0.6406 GB, free: 68.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001628/1.319, allocations: 271.2 kB / 0.6409 GB, free: 68.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/1.321, allocations: 1.43 MB / 0.6423 GB, free: 68.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0272/1.348, allocations: 13.02 MB / 0.655 GB, free: 63.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07905/1.427, allocations: 65.69 MB / 0.7191 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/1.444, allocations: 7.353 MB / 0.7263 GB, free: 7.324 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005559/1.45, allocations: 4.837 MB / 0.731 GB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02539/1.475, allocations: 13.95 MB / 0.7447 GB, free: 4.645 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/1.475, allocations: 68.45 kB / 0.7447 GB, free: 4.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=282): time 6.743e-06/1.476, allocations: 4 kB / 0.7447 GB, free: 4.566 MB / 458.7 MB Notification: Performance of matching and sorting (n=373): time 0.4705/1.946, allocations: 40.98 MB / 0.7848 GB, free: 86.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.946, allocations: 190.5 kB / 0.7849 GB, free: 85.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/1.958, allocations: 4.213 MB / 0.7891 GB, free: 85.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00143/1.959, allocations: 81.14 kB / 0.7891 GB, free: 85.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003012/1.962, allocations: 3.749 MB / 0.7928 GB, free: 83.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002488/1.965, allocations: 1.35 MB / 0.7941 GB, free: 82.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.966, allocations: 157.5 kB / 0.7943 GB, free: 82.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000448/1.966, allocations: 0.636 MB / 0.7949 GB, free: 82.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006445/1.973, allocations: 4.364 MB / 0.7991 GB, free: 82.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009427/1.982, allocations: 8.409 MB / 0.8074 GB, free: 75.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.992, allocations: 6.029 MB / 0.8132 GB, free: 73.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/1.993, allocations: 41.62 kB / 0.8133 GB, free: 73.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.04295/2.036, allocations: 18.52 MB / 0.8314 GB, free: 67.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/2.036, allocations: 64.69 kB / 0.8314 GB, free: 67.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/2.036, allocations: 146.2 kB / 0.8316 GB, free: 67.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/2.056, allocations: 6.659 MB / 0.8381 GB, free: 66.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006663/2.063, allocations: 1.711 MB / 0.8397 GB, free: 65.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04828/2.111, allocations: 35.31 MB / 0.8742 GB, free: 38.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009808/2.121, allocations: 0.5745 MB / 0.8748 GB, free: 37.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00301/2.124, allocations: 481.8 kB / 0.8753 GB, free: 37.43 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 () * 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.003388/2.127, allocations: 0.681 MB / 0.8759 GB, free: 36.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/2.129, allocations: 469.9 kB / 0.8764 GB, free: 36.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02573/2.155, allocations: 13.56 MB / 0.8896 GB, free: 24.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/2.155, allocations: 40 kB / 0.8896 GB, free: 24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-05/2.155, allocations: 24 kB / 0.8897 GB, free: 23.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/2.155, allocations: 15.94 kB / 0.8897 GB, free: 23.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04709/2.202, allocations: 25.76 MB / 0.9148 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.204e-05/2.202, allocations: 11.92 kB / 0.9149 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/2.205, allocations: 0.5148 MB / 0.9154 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3293/2.534, allocations: 6.267 MB / 0.9215 GB, free: 91.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001142/2.535, allocations: 73.56 kB / 0.9215 GB, free: 91.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04979/2.585, allocations: 32.56 MB / 0.9533 GB, free: 89.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/2.585, allocations: 10.69 kB / 0.9534 GB, free: 89.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03678/2.622, allocations: 20.05 MB / 0.9729 GB, free: 81.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/2.624, allocations: 0.54 MB / 0.9735 GB, free: 81.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002263/2.627, allocations: 71.55 kB / 0.9735 GB, free: 81.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004515/2.631, allocations: 349.4 kB / 0.9739 GB, free: 81.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001541/2.633, allocations: 265.1 kB / 0.9741 GB, free: 81.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004418/2.633, allocations: 95.64 kB / 0.9742 GB, free: 81.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005255/2.638, allocations: 3.015 MB / 0.9772 GB, free: 80.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.31e-07/2.638, allocations: 0 / 0.9772 GB, free: 80.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01259/2.651, allocations: 1.832 MB / 0.9789 GB, free: 79.85 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 () * 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.03835/2.689, allocations: 21.47 MB / 0.9999 GB, free: 70.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02125/2.711, allocations: 11.65 MB / 1.011 GB, free: 66.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/2.711, allocations: 0 / 1.011 GB, free: 66.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01034/2.721, allocations: 5.593 MB / 1.017 GB, free: 63.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/2.726, allocations: 0.5585 MB / 1.017 GB, free: 63.35 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0415/2.767, allocations: 15.88 MB / 1.033 GB, free: 51.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004869/2.772, allocations: 4.489 MB / 1.037 GB, free: 47.87 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006211/2.778, allocations: 2.401 MB / 1.04 GB, free: 46.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004692/2.783, allocations: 2.623 MB / 1.042 GB, free: 43.9 MB / 474.7 MB Notification: Performance of SimCode: time 3.286e-06/2.783, allocations: 0 / 1.042 GB, free: 43.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5303/3.313, allocations: 145.6 MB / 1.184 GB, free: 58.86 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/3.314, allocations: 198.8 kB / 1.184 GB, free: 58.64 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.355/9.669, allocations: 0 / 1.184 GB, free: 58.64 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