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.0009399/0.0009399, allocations: 171.9 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.409/1.409, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0009128/0.0009128, allocations: 82.7 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.394e-05, allocations: 0 / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08727, allocations: 47.58 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/0.4244, allocations: 97.93 MB / 468.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4247, allocations: 81.08 kB / 468.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4972/0.922, allocations: 115.3 MB / 0.5698 GB, free: 89.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.922, allocations: 0 / 0.5698 GB, free: 89.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003043/0.9223, allocations: 115.7 kB / 0.5699 GB, free: 89.59 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01993/0.9423, allocations: 5.982 MB / 0.5757 GB, free: 87.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.9423, allocations: 10.88 kB / 0.5757 GB, free: 87.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004136/0.9465, allocations: 0.9825 MB / 0.5767 GB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.961, allocations: 2.737 MB / 0.5793 GB, free: 86.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/0.9779, allocations: 7.551 MB / 0.5867 GB, free: 84.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.9784, allocations: 437.5 kB / 0.5871 GB, free: 84.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003355/0.9817, allocations: 0.5601 MB / 0.5877 GB, free: 84.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03953/1.021, allocations: 14.96 MB / 0.6023 GB, free: 76.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006686/1.022, allocations: 78.66 kB / 0.6024 GB, free: 76.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00372/1.026, allocations: 264.8 kB / 0.6026 GB, free: 76.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002502/1.028, allocations: 1.434 MB / 0.604 GB, free: 75.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0281/1.056, allocations: 13.02 MB / 0.6167 GB, free: 64.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07452/1.131, allocations: 65.76 MB / 0.681 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/1.15, allocations: 7.342 MB / 0.6881 GB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006187/1.156, allocations: 4.845 MB / 0.6929 GB, free: 1.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.233/1.389, allocations: 13.97 MB / 0.7065 GB, free: 96.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.389, allocations: 66.66 kB / 0.7066 GB, free: 96.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=282): time 5.501e-06/1.389, allocations: 0 / 0.7066 GB, free: 96.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=373): time 0.1232/1.512, allocations: 41.18 MB / 0.7468 GB, free: 88.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/1.512, allocations: 192 kB / 0.747 GB, free: 88.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005888/1.518, allocations: 4.256 MB / 0.7511 GB, free: 86.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009618/1.519, allocations: 77.98 kB / 0.7512 GB, free: 86.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.521, allocations: 3.749 MB / 0.7549 GB, free: 83.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001674/1.523, allocations: 1.356 MB / 0.7562 GB, free: 82.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004653/1.523, allocations: 156.4 kB / 0.7563 GB, free: 82.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003392/1.524, allocations: 0.6366 MB / 0.757 GB, free: 82.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005239/1.529, allocations: 4.372 MB / 0.7612 GB, free: 80.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006629/1.536, allocations: 8.397 MB / 0.7694 GB, free: 72.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/1.543, allocations: 6.029 MB / 0.7753 GB, free: 66.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.76e-05/1.543, allocations: 50.28 kB / 0.7754 GB, free: 66.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.0339/1.577, allocations: 18.53 MB / 0.7934 GB, free: 51.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/1.577, allocations: 67.84 kB / 0.7935 GB, free: 51.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/1.577, allocations: 140 kB / 0.7936 GB, free: 51.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01777/1.595, allocations: 6.649 MB / 0.8001 GB, free: 46.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006275/1.601, allocations: 1.725 MB / 0.8018 GB, free: 44.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04238/1.643, allocations: 35.3 MB / 0.8363 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007663/1.651, allocations: 0.5672 MB / 0.8369 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/1.653, allocations: 479.4 kB / 0.8373 GB, free: 7.867 MB / 426.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.001429/1.654, allocations: 0.676 MB / 0.838 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.656, allocations: 477.9 kB / 0.8384 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2519/1.907, allocations: 13.56 MB / 0.8517 GB, free: 97.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001288/1.908, allocations: 41.05 kB / 0.8517 GB, free: 97.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001237/1.908, allocations: 25.88 kB / 0.8517 GB, free: 97.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/1.908, allocations: 22.91 kB / 0.8518 GB, free: 97.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05081/1.959, allocations: 25.79 MB / 0.8769 GB, free: 96.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001069/1.959, allocations: 4.719 kB / 0.8769 GB, free: 96.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/1.962, allocations: 0.5176 MB / 0.8774 GB, free: 96.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01823/1.98, allocations: 6.27 MB / 0.8836 GB, free: 95.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009469/1.981, allocations: 67.45 kB / 0.8836 GB, free: 95.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03845/2.019, allocations: 32.57 MB / 0.9154 GB, free: 81.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/2.019, allocations: 9.703 kB / 0.9155 GB, free: 81.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03107/2.051, allocations: 20.05 MB / 0.935 GB, free: 73.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004366/2.055, allocations: 1.333 MB / 0.9363 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001885/2.057, allocations: 69.45 kB / 0.9364 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004075/2.061, allocations: 348.7 kB / 0.9367 GB, free: 71.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/2.062, allocations: 265.9 kB / 0.937 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003423/2.063, allocations: 94.53 kB / 0.9371 GB, free: 71.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004779/2.067, allocations: 3.053 MB / 0.9401 GB, free: 68.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.067, allocations: 0 / 0.9401 GB, free: 68.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007738/2.075, allocations: 1.831 MB / 0.9418 GB, free: 67.11 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 () * 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.03046/2.106, allocations: 21.49 MB / 0.9628 GB, free: 49.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01675/2.122, allocations: 11.65 MB / 0.9742 GB, free: 38.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.122, allocations: 0 / 0.9742 GB, free: 38.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00796/2.13, allocations: 5.594 MB / 0.9797 GB, free: 32.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/2.134, allocations: 0.5602 MB / 0.9802 GB, free: 31.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04207/2.176, allocations: 15.91 MB / 0.9958 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/2.182, allocations: 4.508 MB / 1 GB, free: 11.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006314/2.189, allocations: 2.407 MB / 1.003 GB, free: 9.141 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00459/2.193, allocations: 2.631 MB / 1.005 GB, free: 6.512 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/2.193, allocations: 0 / 1.005 GB, free: 6.512 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.393/2.586, allocations: 146 MB / 1.148 GB, free: 26.62 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001185/2.586, allocations: 198.8 kB / 1.148 GB, free: 26.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.349/7.936, allocations: 4.062 kB / 1.148 GB, free: 26.39 MB / 458.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