Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo) 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(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",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.001356/0.001356, allocations: 174.3 kB / 7.648 MB, free: 1.422 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.445/1.445, allocations: 221.5 MB / 229.6 MB, free: 7.547 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.0008386/0.0008386, allocations: 94.06 kB / 280.5 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03762/0.03762, allocations: 8.835 MB / 340.1 MB, free: 6.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.015e-05, allocations: 1.781 kB / 398.8 MB, free: 47.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 52.4 MB / 451.2 MB, free: 4.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.5214, allocations: 90.11 MB / 0.5286 GB, free: 29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5218, allocations: 80.28 kB / 0.5287 GB, free: 29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1479/0.6697, allocations: 62.93 MB / 0.5901 GB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6697, allocations: 0 / 0.5901 GB, free: 10.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.806e-05/0.6698, allocations: 50.53 kB / 0.5902 GB, free: 10.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01641/0.6862, allocations: 3.556 MB / 0.5936 GB, free: 8.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6863, allocations: 12.02 kB / 0.5937 GB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009019/0.6953, allocations: 1.935 MB / 0.5955 GB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.6996, allocations: 1.778 MB / 0.5973 GB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.6997, allocations: 104 kB / 0.5974 GB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.7008, allocations: 171.6 kB / 0.5975 GB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008098/0.709, allocations: 5.577 MB / 0.603 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.7252, allocations: 7.351 MB / 0.6102 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.7254, allocations: 23.81 kB / 0.6102 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005467/0.7259, allocations: 15.98 kB / 0.6102 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.7275, allocations: 0.8999 MB / 0.6111 GB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03927/0.7668, allocations: 25.15 MB / 0.6356 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/0.7712, allocations: 3.383 MB / 0.639 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.7726, allocations: 0.9554 MB / 0.6399 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005735/0.7783, allocations: 3.848 MB / 0.6436 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.7784, allocations: 47.88 kB / 0.6437 GB, free: 6.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 3.858e-06/0.7784, allocations: 0 / 0.6437 GB, free: 6.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01013/0.7885, allocations: 5.462 MB / 0.649 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.7886, allocations: 72.66 kB / 0.6491 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003017/0.7917, allocations: 1.88 MB / 0.6509 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.7917, allocations: 25.7 kB / 0.651 GB, free: 14.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.7931, allocations: 2.158 MB / 0.6531 GB, free: 12.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.7936, allocations: 0.5743 MB / 0.6536 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.7938, allocations: 0 / 0.6536 GB, free: 12.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003373/0.7941, allocations: 0.5156 MB / 0.6541 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.796, allocations: 1.242 MB / 0.6553 GB, free: 10.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/0.7992, allocations: 3.494 MB / 0.6587 GB, free: 5.742 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.802, allocations: 2.134 MB / 0.6608 GB, free: 3.609 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.724e-05/0.8021, allocations: 20 kB / 0.6609 GB, free: 3.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.007649/0.8097, allocations: 4.5 MB / 0.6652 GB, free: 15.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.8098, allocations: 40 kB / 0.6653 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-05/0.8099, allocations: 80 kB / 0.6654 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.8106, allocations: 293.5 kB / 0.6656 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/0.8136, allocations: 0.9163 MB / 0.6665 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.8165, allocations: 2.566 MB / 0.669 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.8193, allocations: 104 kB / 0.6691 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/0.8198, allocations: 251.9 kB / 0.6694 GB, free: 10.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 364 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 499 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005468/0.8204, allocations: 298.9 kB / 0.6697 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002774/0.8232, allocations: 1.718 MB / 0.6713 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.8234, allocations: 193.5 kB / 0.6715 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.8265, allocations: 1.906 MB / 0.6734 GB, free: 6.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001165/0.8266, allocations: 27.98 kB / 0.6734 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.8266, allocations: 0 / 0.6734 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.8267, allocations: 8.047 kB / 0.6734 GB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008255/0.8349, allocations: 4.739 MB / 0.6781 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.8349, allocations: 4 kB / 0.6781 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009461/0.8359, allocations: 219.7 kB / 0.6783 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/0.8364, allocations: 169.7 kB / 0.6784 GB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.577e-05/0.8365, allocations: 12 kB / 0.6784 GB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.8388, allocations: 2.127 MB / 0.6805 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8388, allocations: 4 kB / 0.6805 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/0.8429, allocations: 3.042 MB / 0.6835 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/0.8435, allocations: 278.5 kB / 0.6838 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.8438, allocations: 4 kB / 0.6838 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.8445, allocations: 27.95 kB / 0.6838 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.8447, allocations: 89.19 kB / 0.6839 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.8448, allocations: 43.98 kB / 0.6839 GB, free: 11.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002299/0.8471, allocations: 1.257 MB / 0.6851 GB, free: 10.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8471, allocations: 0 / 0.6851 GB, free: 10.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003598/0.8507, allocations: 0.6172 MB / 0.6857 GB, free: 9.551 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004718/0.8554, allocations: 4.076 MB / 0.6897 GB, free: 5.398 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004917/0.8604, allocations: 3.082 MB / 0.6927 GB, free: 2.297 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8604, allocations: 3.156 kB / 0.6927 GB, free: 2.297 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.8617, allocations: 1.043 MB / 0.6938 GB, free: 1.227 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.8632, allocations: 217 kB / 0.694 GB, free: 1.012 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2686/1.132, allocations: 6.289 MB / 0.7001 GB, free: 128.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004351/1.136, allocations: 2.646 MB / 0.7027 GB, free: 127.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004181/1.14, allocations: 1.174 MB / 0.7038 GB, free: 127.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/1.143, allocations: 1.329 MB / 0.7051 GB, free: 127.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.503e-06/1.143, allocations: 0 / 0.7051 GB, free: 127.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08498/1.228, allocations: 46.93 MB / 0.751 GB, free: 110.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/1.229, allocations: 152.5 kB / 0.7511 GB, free: 110.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/4.373, allocations: 8.766 kB / 0.7511 GB, free: 110.5 MB / 458.7 MB (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)