Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",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.001052/0.001052, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.37/1.37, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008092/0.0008091, allocations: 94.69 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.49e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07755/0.07759, allocations: 47.58 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/0.3959, allocations: 103.2 MB / 473.3 MB, free: 6.422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.3962, allocations: 87.08 kB / 473.4 MB, free: 6.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5023/0.8986, allocations: 121.5 MB / 0.5809 GB, free: 90.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.8986, allocations: 0 / 0.5809 GB, free: 90.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004215/0.899, allocations: 127.3 kB / 0.581 GB, free: 90.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2051 * Number of variables: 2051 Notification: Performance of Generate backend data structure: time 0.02075/0.9198, allocations: 6.262 MB / 0.5872 GB, free: 87.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.9199, allocations: 11.25 kB / 0.5872 GB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003863/0.9237, allocations: 1.034 MB / 0.5882 GB, free: 86.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/0.9364, allocations: 2.768 MB / 0.5909 GB, free: 86.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/0.9542, allocations: 7.718 MB / 0.5984 GB, free: 83.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/0.9547, allocations: 468.5 kB / 0.5989 GB, free: 83.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003356/0.9581, allocations: 0.5961 MB / 0.5995 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03434/0.9925, allocations: 15.61 MB / 0.6147 GB, free: 67.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/0.9928, allocations: 83.23 kB / 0.6148 GB, free: 67.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009852/0.9938, allocations: 283.8 kB / 0.615 GB, free: 67.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001758/0.9956, allocations: 1.464 MB / 0.6165 GB, free: 65.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02732/1.023, allocations: 13.46 MB / 0.6296 GB, free: 52.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3504/1.373, allocations: 68.96 MB / 0.697 GB, free: 86.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02105/1.394, allocations: 7.627 MB / 0.7044 GB, free: 86.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006825/1.401, allocations: 4.985 MB / 0.7093 GB, free: 86.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02593/1.427, allocations: 14.42 MB / 0.7234 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01771/1.445, allocations: 5.644 MB / 0.7289 GB, free: 83.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 1.614e-05/1.445, allocations: 0 / 0.7289 GB, free: 83.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=387): time 0.1345/1.58, allocations: 44.08 MB / 0.7719 GB, free: 69.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.58, allocations: 253.2 kB / 0.7722 GB, free: 68.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007443/1.587, allocations: 4.549 MB / 0.7766 GB, free: 64.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00127/1.589, allocations: 89.7 kB / 0.7767 GB, free: 64.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003042/1.592, allocations: 4.027 MB / 0.7806 GB, free: 61.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001965/1.594, allocations: 1.419 MB / 0.782 GB, free: 59.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/1.594, allocations: 162.8 kB / 0.7822 GB, free: 59.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003455/1.595, allocations: 0.6547 MB / 0.7828 GB, free: 59.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005424/1.6, allocations: 4.522 MB / 0.7872 GB, free: 55.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007249/1.607, allocations: 8.804 MB / 0.7958 GB, free: 44.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00821/1.615, allocations: 6.285 MB / 0.802 GB, free: 39.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.74e-05/1.616, allocations: 44 kB / 0.802 GB, free: 39.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.03818/1.654, allocations: 19.11 MB / 0.8207 GB, free: 20.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/1.654, allocations: 72.53 kB / 0.8207 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002333/1.654, allocations: 148 kB / 0.8209 GB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01794/1.672, allocations: 6.768 MB / 0.8275 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006293/1.679, allocations: 1.813 MB / 0.8292 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.316/1.994, allocations: 35.43 MB / 0.8638 GB, free: 93.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008119/2.003, allocations: 0.5863 MB / 0.8644 GB, free: 93.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/2.005, allocations: 0.4912 MB / 0.8649 GB, free: 93.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (912): * Single equations (assignments): 904 * 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 {(10,63.0%) 102,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002159/2.007, allocations: 0.7162 MB / 0.8656 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/2.009, allocations: 0.4886 MB / 0.8661 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0275/2.036, allocations: 13.86 MB / 0.8796 GB, free: 92.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-05/2.036, allocations: 41.86 kB / 0.8797 GB, free: 92.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-05/2.036, allocations: 26.44 kB / 0.8797 GB, free: 92.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.536e-05/2.036, allocations: 19.17 kB / 0.8797 GB, free: 92.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04629/2.083, allocations: 26.57 MB / 0.9056 GB, free: 85.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/2.083, allocations: 6.469 kB / 0.9057 GB, free: 85.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/2.085, allocations: 0.5307 MB / 0.9062 GB, free: 85.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01757/2.103, allocations: 6.4 MB / 0.9124 GB, free: 84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/2.104, allocations: 77.23 kB / 0.9125 GB, free: 83.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04938/2.154, allocations: 34.32 MB / 0.946 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/2.154, allocations: 9.812 kB / 0.946 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03687/2.191, allocations: 20.32 MB / 0.9659 GB, free: 48.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004735/2.196, allocations: 1.39 MB / 0.9672 GB, free: 46.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002182/2.198, allocations: 74.73 kB / 0.9673 GB, free: 46.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004325/2.202, allocations: 348.3 kB / 0.9676 GB, free: 46.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001564/2.204, allocations: 273.3 kB / 0.9679 GB, free: 46.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007395/2.204, allocations: 109.4 kB / 0.968 GB, free: 45.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006315/2.211, allocations: 3.246 MB / 0.9712 GB, free: 42.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.42e-07/2.211, allocations: 0 / 0.9712 GB, free: 42.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01055/2.221, allocations: 1.919 MB / 0.973 GB, free: 40.84 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 230 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03587/2.257, allocations: 21.99 MB / 0.9945 GB, free: 18.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02094/2.278, allocations: 12.05 MB / 1.006 GB, free: 6.875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/2.278, allocations: 0 / 1.006 GB, free: 6.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01027/2.289, allocations: 5.762 MB / 1.012 GB, free: 1.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/2.293, allocations: 0.612 MB / 1.013 GB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2872/2.581, allocations: 16.67 MB / 1.029 GB, free: 114.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008204/2.589, allocations: 4.71 MB / 1.033 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006892/2.596, allocations: 2.53 MB / 1.036 GB, free: 113.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004354/2.6, allocations: 2.803 MB / 1.039 GB, free: 113.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.153e-06/2.6, allocations: 0 / 1.039 GB, free: 113.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4222/3.022, allocations: 152.2 MB / 1.187 GB, free: 84.42 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/3.022, allocations: 236.6 kB / 1.187 GB, free: 84.11 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.456/8.478, allocations: 0.5469 kB / 1.187 GB, free: 84.11 MB / 458.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat