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.001231/0.001231, allocations: 181 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 97.86 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 4 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2598, allocations: 50.4 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.3894, allocations: 99.46 MB / 0.4893 GB, free: 12.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.3898, allocations: 91.95 kB / 0.4894 GB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5213/0.9111, allocations: 116.2 MB / 0.6029 GB, free: 9.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.9112, allocations: 8 kB / 0.6029 GB, free: 9.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002711/0.9115, allocations: 116 kB / 0.603 GB, free: 9.125 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.01977/0.9313, allocations: 6.318 MB / 0.6092 GB, free: 2.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.9313, allocations: 8.031 kB / 0.6092 GB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00444/0.9358, allocations: 0.9847 MB / 0.6101 GB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.9492, allocations: 2.731 MB / 0.6128 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01929/0.9686, allocations: 7.124 MB / 0.6198 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/0.9692, allocations: 427.3 kB / 0.6202 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003718/0.9729, allocations: 0.5661 MB / 0.6207 GB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03432/1.007, allocations: 15.08 MB / 0.6355 GB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002612/1.008, allocations: 71.41 kB / 0.6355 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/1.009, allocations: 267.9 kB / 0.6358 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002041/1.011, allocations: 1.435 MB / 0.6372 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/1.041, allocations: 13.22 MB / 0.6501 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3507/1.391, allocations: 65.68 MB / 0.7142 GB, free: 34.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/1.41, allocations: 7.383 MB / 0.7214 GB, free: 33.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02455/1.434, allocations: 13.96 MB / 0.7351 GB, free: 28.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.434, allocations: 69.38 kB / 0.7351 GB, free: 28.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=282): time 6.111e-06/1.434, allocations: 0 / 0.7351 GB, free: 28.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=373): time 0.155/1.589, allocations: 50.56 MB / 0.7845 GB, free: 3.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/1.589, allocations: 192.7 kB / 0.7847 GB, free: 2.918 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/1.596, allocations: 4.269 MB / 0.7889 GB, free: 15.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001147/1.597, allocations: 81.7 kB / 0.7889 GB, free: 15.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002928/1.6, allocations: 3.74 MB / 0.7926 GB, free: 12.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002322/1.602, allocations: 1.361 MB / 0.7939 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007307/1.603, allocations: 152 kB / 0.7941 GB, free: 10.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004188/1.603, allocations: 0.6377 MB / 0.7947 GB, free: 10.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006944/1.61, allocations: 4.44 MB / 0.799 GB, free: 6.477 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/1.622, allocations: 8.474 MB / 0.8073 GB, free: 12.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009822/1.632, allocations: 6.086 MB / 0.8132 GB, free: 6.484 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/1.632, allocations: 40 kB / 0.8133 GB, free: 6.445 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.04512/1.677, allocations: 18.68 MB / 0.8315 GB, free: 3.871 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/1.677, allocations: 67.94 kB / 0.8316 GB, free: 3.805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002062/1.677, allocations: 140 kB / 0.8317 GB, free: 3.668 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.334/2.011, allocations: 6.657 MB / 0.8382 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006843/2.018, allocations: 1.721 MB / 0.8399 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05517/2.073, allocations: 36.86 MB / 0.8759 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007544/2.081, allocations: 0.5696 MB / 0.8765 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/2.083, allocations: 479.1 kB / 0.8769 GB, free: 103.1 MB / 474.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.007299/2.09, allocations: 2.853 MB / 0.8797 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/2.092, allocations: 476.3 kB / 0.8802 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02974/2.121, allocations: 13.65 MB / 0.8935 GB, free: 97.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-05/2.121, allocations: 41.78 kB / 0.8935 GB, free: 97.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-05/2.122, allocations: 29.28 kB / 0.8935 GB, free: 97.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.098e-05/2.122, allocations: 19.42 kB / 0.8936 GB, free: 97.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05408/2.176, allocations: 25.86 MB / 0.9188 GB, free: 86.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.107e-05/2.176, allocations: 4 kB / 0.9188 GB, free: 86.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/2.179, allocations: 0.5153 MB / 0.9193 GB, free: 86.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01845/2.197, allocations: 6.281 MB / 0.9255 GB, free: 82.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001234/2.198, allocations: 70.52 kB / 0.9255 GB, free: 82.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04252/2.241, allocations: 34.12 MB / 0.9588 GB, free: 52.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/2.241, allocations: 7.156 kB / 0.9589 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03354/2.274, allocations: 20.19 MB / 0.9786 GB, free: 31.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/2.276, allocations: 0.5454 MB / 0.9791 GB, free: 31.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/2.278, allocations: 67.83 kB / 0.9792 GB, free: 31.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004213/2.282, allocations: 347.5 kB / 0.9795 GB, free: 31.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001627/2.284, allocations: 268.5 kB / 0.9798 GB, free: 30.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005646/2.285, allocations: 99.98 kB / 0.9799 GB, free: 30.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005388/2.29, allocations: 3.053 MB / 0.9828 GB, free: 27.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.29, allocations: 0 / 0.9828 GB, free: 27.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009519/2.299, allocations: 1.828 MB / 0.9846 GB, free: 25.79 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 () * 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.3013/2.601, allocations: 21.61 MB / 1.006 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01984/2.621, allocations: 11.82 MB / 1.017 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/2.621, allocations: 3.906 kB / 1.017 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009294/2.63, allocations: 5.672 MB / 1.023 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/2.634, allocations: 0.561 MB / 1.023 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1428/2.777, allocations: 158.6 MB / 1.178 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008005/2.785, allocations: 4.496 MB / 1.183 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006854/2.792, allocations: 2.398 MB / 1.185 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005343/2.797, allocations: 2.624 MB / 1.188 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of SimCode: time 1.873e-06/2.797, allocations: 0 / 1.188 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4515/3.249, allocations: 145.1 MB / 1.329 GB, free: 60.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/3.249, allocations: 229.9 kB / 1.329 GB, free: 60.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.147/9.396, allocations: 0 / 1.329 GB, free: 60.67 MB / 0.4948 GB (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