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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005212/0.005212, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1452/0.1452, allocations: 9.111 MB / 299.6 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 414.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.236, allocations: 51.44 MB / 465.6 MB, free: 17.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.008277/0.2443, allocations: 8.791 MB / 474.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005075/0.2495, allocations: 2.73 MB / 477.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.2507, allocations: 34.09 kB / 477.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.2517, allocations: 362.2 kB / 477.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.2549, allocations: 1.413 MB / 478.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.2555, allocations: 181.7 kB / 479.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00318/0.2587, allocations: 2.549 MB / 481.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.26, allocations: 0.8831 MB / 482.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.2615, allocations: 0.9088 MB / 483.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.2633, allocations: 1.325 MB / 484.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005774/0.2638, allocations: 241.3 kB / 485 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.2656, allocations: 0.8923 MB / 485.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.2667, allocations: 1.208 MB / 487.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.2684, allocations: 1.582 MB / 488.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006095/0.2745, allocations: 5.082 MB / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2745, allocations: 0 / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2745, allocations: 0 / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001614/0.2747, allocations: 5.25 kB / 493.7 MB, free: 15.34 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01818/0.2929, allocations: 5.042 MB / 498.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.293, allocations: 12.03 kB / 498.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000841/0.2938, allocations: 0.5429 MB / 499.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006622/0.3004, allocations: 1.779 MB / 0.4894 GB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.3032, allocations: 1.441 MB / 0.4908 GB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.3033, allocations: 148 kB / 0.4909 GB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004708/0.3038, allocations: 207.6 kB / 0.4911 GB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.317, allocations: 8.476 MB / 0.4994 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.167e-05/0.3171, allocations: 23.81 kB / 0.4994 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/0.3175, allocations: 95.84 kB / 0.4995 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002893/0.3204, allocations: 1.88 MB / 0.5013 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.3364, allocations: 8.148 MB / 0.5093 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03816/0.3746, allocations: 25.89 MB / 0.5346 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009962/0.3846, allocations: 2.844 MB / 0.5374 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.3864, allocations: 1.091 MB / 0.5384 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006968/0.3934, allocations: 5.041 MB / 0.5434 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.3935, allocations: 43.88 kB / 0.5434 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 5.139e-06/0.3935, allocations: 0 / 0.5434 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=175): time 0.01975/0.4132, allocations: 8.427 MB / 0.5516 GB, free: 7.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4133, allocations: 72.72 kB / 0.5517 GB, free: 6.941 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004523/0.4178, allocations: 2.634 MB / 0.5543 GB, free: 4.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.418, allocations: 53.69 kB / 0.5543 GB, free: 4.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.4194, allocations: 2.063 MB / 0.5563 GB, free: 2.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005957/0.42, allocations: 0.6437 MB / 0.557 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.4214, allocations: 0.8059 MB / 0.5577 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.4215, allocations: 313 kB / 0.558 GB, free: 356 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.4238, allocations: 1.382 MB / 0.5594 GB, free: 14.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/0.4274, allocations: 3.544 MB / 0.5629 GB, free: 10.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005931/0.4333, allocations: 5.311 MB / 0.568 GB, free: 3.992 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.039e-05/0.4334, allocations: 28 kB / 0.5681 GB, free: 3.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009039/0.4425, allocations: 5.133 MB / 0.5731 GB, free: 14.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.008e-05/0.4426, allocations: 38.19 kB / 0.5731 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.4427, allocations: 76 kB / 0.5732 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008623/0.4436, allocations: 329.4 kB / 0.5735 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.4466, allocations: 0.9007 MB / 0.5744 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.4504, allocations: 3.283 MB / 0.5776 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.4533, allocations: 195.9 kB / 0.5778 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/0.4539, allocations: 240 kB / 0.578 GB, free: 9.617 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 487 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002621/0.4565, allocations: 1.578 MB / 0.5795 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/0.4569, allocations: 229 kB / 0.5798 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.4611, allocations: 2.378 MB / 0.5821 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/0.4612, allocations: 27.98 kB / 0.5821 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.4612, allocations: 4 kB / 0.5821 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.4612, allocations: 7.969 kB / 0.5821 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2133/0.6745, allocations: 6.25 MB / 0.5882 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.6746, allocations: 6.609 kB / 0.5882 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.6757, allocations: 251.9 kB / 0.5885 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006511/0.6764, allocations: 222.6 kB / 0.5887 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.6765, allocations: 35.42 kB / 0.5887 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.6794, allocations: 2.86 MB / 0.5915 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6794, allocations: 6.641 kB / 0.5915 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005428/0.6849, allocations: 3.614 MB / 0.5951 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006771/0.6856, allocations: 306.5 kB / 0.5953 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003502/0.6859, allocations: 26.22 kB / 0.5954 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/0.6868, allocations: 81.58 kB / 0.5954 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.6871, allocations: 97.86 kB / 0.5955 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.6872, allocations: 54.83 kB / 0.5956 GB, free: 107.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002844/0.69, allocations: 1.704 MB / 0.5973 GB, free: 107 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6901, allocations: 0 / 0.5973 GB, free: 107 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003283/0.6934, allocations: 0.7101 MB / 0.598 GB, free: 106.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 134 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006093/0.6995, allocations: 4.279 MB / 0.6021 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006102/0.7056, allocations: 3.506 MB / 0.6056 GB, free: 103.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.7057, allocations: 0 / 0.6056 GB, free: 103.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.7075, allocations: 1.25 MB / 0.6068 GB, free: 103.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.7098, allocations: 391.3 kB / 0.6071 GB, free: 103 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.036/0.7458, allocations: 28.93 MB / 0.6354 GB, free: 82.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/0.7483, allocations: 2.594 MB / 0.6379 GB, free: 79.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00246/0.7508, allocations: 1.235 MB / 0.6391 GB, free: 78.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.7524, allocations: 1.339 MB / 0.6404 GB, free: 77.03 MB / 462.1 MB Notification: Performance of SimCode: time 1.804e-06/0.7524, allocations: 0 / 0.6404 GB, free: 77.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07553/0.8279, allocations: 50.65 MB / 0.6899 GB, free: 26.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/17.79, allocations: 7.688 kB / 0.6899 GB, free: 26.63 MB / 462.1 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/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)