Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009608/0.0009609, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.0009321, allocations: 84.53 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.808e-05, allocations: 7.984 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 50.41 MB / 387.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3386/0.4437, allocations: 98.73 MB / 486.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/0.4441, allocations: 87.94 kB / 486.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5107/0.9549, allocations: 113.9 MB / 0.5862 GB, free: 94.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.696e-06/0.955, allocations: 3.609 kB / 0.5863 GB, free: 94.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000407/0.9554, allocations: 115.3 kB / 0.5864 GB, free: 94.61 MB / 426.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.02294/0.9783, allocations: 5.952 MB / 0.5922 GB, free: 92.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.9784, allocations: 13.19 kB / 0.5922 GB, free: 92.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/0.993, allocations: 2.731 MB / 0.5949 GB, free: 92.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/1.009, allocations: 7.085 MB / 0.6018 GB, free: 89.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/1.01, allocations: 187.7 kB / 0.602 GB, free: 89.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/1.013, allocations: 344.7 kB / 0.6023 GB, free: 89.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01928/1.032, allocations: 9.51 MB / 0.6116 GB, free: 86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03273/1.065, allocations: 13.07 MB / 0.6243 GB, free: 77.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004622/1.065, allocations: 79.31 kB / 0.6244 GB, free: 77.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003228/1.069, allocations: 32 kB / 0.6244 GB, free: 77.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/1.071, allocations: 1.433 MB / 0.6258 GB, free: 76.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07833/1.149, allocations: 63.62 MB / 0.688 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008989/1.158, allocations: 6.213 MB / 0.694 GB, free: 7.094 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005507/1.164, allocations: 4.743 MB / 0.6987 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/1.165, allocations: 1.283 MB / 0.6999 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.165, allocations: 60.56 kB / 0.7 GB, free: 0.793 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 7.314e-06/1.165, allocations: 0 / 0.7 GB, free: 0.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.4212/1.586, allocations: 36.92 MB / 0.736 GB, free: 98.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/1.586, allocations: 171.7 kB / 0.7362 GB, free: 97.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008681/1.595, allocations: 3.593 MB / 0.7397 GB, free: 97.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00167/1.597, allocations: 28.94 kB / 0.7397 GB, free: 97.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003523/1.6, allocations: 3.787 MB / 0.7434 GB, free: 95.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002586/1.603, allocations: 1.324 MB / 0.7447 GB, free: 94.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.604, allocations: 3.875 kB / 0.7447 GB, free: 94.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005629/1.605, allocations: 0.6396 MB / 0.7454 GB, free: 94.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006619/1.611, allocations: 4.296 MB / 0.7495 GB, free: 93.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/1.621, allocations: 8.417 MB / 0.7578 GB, free: 86.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.633, allocations: 5.99 MB / 0.7636 GB, free: 84.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002364/1.633, allocations: 39.62 kB / 0.7637 GB, free: 84.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.0425/1.675, allocations: 17.75 MB / 0.781 GB, free: 78.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.676, allocations: 67.81 kB / 0.7811 GB, free: 78.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002037/1.676, allocations: 144.6 kB / 0.7812 GB, free: 78.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/1.695, allocations: 6.47 MB / 0.7875 GB, free: 77.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006359/1.701, allocations: 1.769 MB / 0.7892 GB, free: 76.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04312/1.744, allocations: 33.74 MB / 0.8222 GB, free: 50.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008709/1.753, allocations: 436.1 kB / 0.8226 GB, free: 50.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002776/1.756, allocations: 493 kB / 0.8231 GB, free: 50.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 (890): * Single equations (assignments): 882 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001972/1.758, allocations: 492.3 kB / 0.8235 GB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0278/1.786, allocations: 13.16 MB / 0.8364 GB, free: 38.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003008/1.789, allocations: 438.4 kB / 0.8368 GB, free: 37.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03145/1.82, allocations: 13.31 MB / 0.8498 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.69e-05/1.82, allocations: 41.78 kB / 0.8498 GB, free: 24.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.043e-05/1.821, allocations: 24 kB / 0.8499 GB, free: 24.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/1.821, allocations: 15.94 kB / 0.8499 GB, free: 24.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05291/1.874, allocations: 24.74 MB / 0.874 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/1.874, allocations: 4 kB / 0.8741 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/1.877, allocations: 0.5268 MB / 0.8746 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3417/2.218, allocations: 6.244 MB / 0.8807 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001435/2.22, allocations: 19.12 kB / 0.8807 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04952/2.269, allocations: 30.6 MB / 0.9106 GB, free: 97.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/2.269, allocations: 3.844 kB / 0.9106 GB, free: 97.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03789/2.307, allocations: 19.66 MB / 0.9298 GB, free: 90.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/2.309, allocations: 0.4947 MB / 0.9303 GB, free: 89.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002349/2.312, allocations: 3.25 kB / 0.9303 GB, free: 89.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005083/2.317, allocations: 295 kB / 0.9305 GB, free: 89.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002398/2.319, allocations: 266.5 kB / 0.9308 GB, free: 89.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007079/2.32, allocations: 102.2 kB / 0.9309 GB, free: 89.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006702/2.327, allocations: 2.42 MB / 0.9333 GB, free: 89.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.263e-06/2.327, allocations: 2.781 kB / 0.9333 GB, free: 89.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0127/2.339, allocations: 1.604 MB / 0.9348 GB, free: 89.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (231): * Single equations (assignments): 223 * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04183/2.381, allocations: 21.07 MB / 0.9554 GB, free: 80.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01757/2.399, allocations: 11.24 MB / 0.9664 GB, free: 72.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.399, allocations: 0 / 0.9664 GB, free: 72.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008417/2.407, allocations: 5.481 MB / 0.9717 GB, free: 67.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/2.411, allocations: 443.4 kB / 0.9721 GB, free: 67.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03966/2.451, allocations: 15.53 MB / 0.9873 GB, free: 54.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004949/2.456, allocations: 4.493 MB / 0.9917 GB, free: 50.67 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006773/2.463, allocations: 2.458 MB / 0.9941 GB, free: 49.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005755/2.468, allocations: 2.614 MB / 0.9966 GB, free: 46.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/2.468, allocations: 0 / 0.9966 GB, free: 46.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5372/3.006, allocations: 135.6 MB / 1.129 GB, free: 86.49 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/3.006, allocations: 171.2 kB / 1.129 GB, free: 86.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.753/8.759, allocations: 0 / 1.129 GB, free: 86.3 MB / 474.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat