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.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001765/0.001765, allocations: 193.3 kB / 16.14 MB, free: 6.707 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.136/0.136, allocations: 9.099 MB / 299.1 MB, free: 1.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.89 kB / 361.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.08354, allocations: 51.44 MB / 412.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.1627/0.2463, allocations: 23.73 MB / 436.5 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008626/0.255, allocations: 5.541 MB / 442.1 MB, free: 27.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.258, allocations: 86.06 kB / 442.2 MB, free: 27.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.2589, allocations: 309.2 kB / 442.5 MB, free: 27.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.2613, allocations: 1.32 MB / 443.8 MB, free: 27.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.2616, allocations: 148.9 kB / 443.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00211/0.2638, allocations: 3.502 MB / 447.4 MB, free: 25.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.2645, allocations: 0.8061 MB / 448.2 MB, free: 25.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.2652, allocations: 0.7722 MB / 449 MB, free: 25.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.2662, allocations: 1.335 MB / 450.3 MB, free: 24.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.2664, allocations: 134.4 kB / 450.5 MB, free: 24.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.2675, allocations: 0.8289 MB / 451.3 MB, free: 24.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006193/0.2681, allocations: 1.135 MB / 452.4 MB, free: 24.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008468/0.269, allocations: 1.495 MB / 453.9 MB, free: 23.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.2718, allocations: 4.698 MB / 458.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2718, allocations: 0 / 458.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2718, allocations: 0 / 458.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.36e-05/0.2719, allocations: 0 / 458.6 MB, free: 21.36 MB / 350.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.01394/0.2858, allocations: 5.051 MB / 463.7 MB, free: 19.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2858, allocations: 8.781 kB / 463.7 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004852/0.2863, allocations: 0.5432 MB / 464.2 MB, free: 19.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006018/0.2924, allocations: 1.778 MB / 466 MB, free: 18.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.2944, allocations: 1.437 MB / 467.4 MB, free: 17.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.2945, allocations: 151.9 kB / 467.6 MB, free: 17.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/0.2948, allocations: 204.5 kB / 467.8 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.3066, allocations: 8.46 MB / 476.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.622e-05/0.3066, allocations: 26.11 kB / 476.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.3069, allocations: 100.9 kB / 476.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002782/0.3097, allocations: 1.879 MB / 478.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.3257, allocations: 8.149 MB / 486.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/0.3546, allocations: 25.97 MB / 0.5004 GB, free: 436 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009037/0.3637, allocations: 2.855 MB / 0.5032 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.3652, allocations: 1.08 MB / 0.5042 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005685/0.3709, allocations: 5.053 MB / 0.5091 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.371, allocations: 43.88 kB / 0.5092 GB, free: 6.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 2.836e-06/0.371, allocations: 0 / 0.5092 GB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.01717/0.3881, allocations: 8.415 MB / 0.5174 GB, free: 14.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3882, allocations: 64.72 kB / 0.5175 GB, free: 14.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/0.3915, allocations: 2.638 MB / 0.52 GB, free: 11.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.439e-05/0.3916, allocations: 49.7 kB / 0.5201 GB, free: 11.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.3928, allocations: 2.07 MB / 0.5221 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/0.3933, allocations: 0.6398 MB / 0.5227 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009966/0.3943, allocations: 0.8098 MB / 0.5235 GB, free: 7.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.3944, allocations: 309.1 kB / 0.5238 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.3964, allocations: 1.374 MB / 0.5252 GB, free: 6.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.3995, allocations: 3.556 MB / 0.5286 GB, free: 1.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005313/0.4048, allocations: 5.311 MB / 0.5338 GB, free: 11.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-05/0.4049, allocations: 20 kB / 0.5338 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.00727/0.4122, allocations: 5.14 MB / 0.5389 GB, free: 6.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.4122, allocations: 43.98 kB / 0.5389 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.658e-05/0.4123, allocations: 72 kB / 0.539 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007649/0.4131, allocations: 322.1 kB / 0.5393 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.4156, allocations: 0.9046 MB / 0.5402 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.4189, allocations: 3.045 MB / 0.5431 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.4212, allocations: 187.9 kB / 0.5433 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/0.4215, allocations: 239.9 kB / 0.5435 GB, free: 1.074 MB / 414.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.002083/0.4235, allocations: 1.581 MB / 0.5451 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.4238, allocations: 237 kB / 0.5453 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/0.4275, allocations: 2.369 MB / 0.5476 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/0.4276, allocations: 31.98 kB / 0.5477 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4276, allocations: 0 / 0.5477 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.4277, allocations: 7.969 kB / 0.5477 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009407/0.4371, allocations: 6.297 MB / 0.5538 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.4371, allocations: 0 / 0.5538 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.4382, allocations: 259.6 kB / 0.5541 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006234/0.4388, allocations: 209.5 kB / 0.5543 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/0.4389, allocations: 35.98 kB / 0.5543 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002797/0.4417, allocations: 2.611 MB / 0.5568 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4417, allocations: 4 kB / 0.5568 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.4465, allocations: 3.615 MB / 0.5604 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.447, allocations: 306.2 kB / 0.5607 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.4473, allocations: 31.92 kB / 0.5607 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.4481, allocations: 75.92 kB / 0.5608 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.4483, allocations: 89.19 kB / 0.5609 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.4485, allocations: 55.97 kB / 0.5609 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002253/0.4507, allocations: 1.708 MB / 0.5626 GB, free: 13.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4507, allocations: 0 / 0.5626 GB, free: 13.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002641/0.4534, allocations: 0.7071 MB / 0.5633 GB, free: 12.46 MB / 446.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.005122/0.4585, allocations: 4.282 MB / 0.5674 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004746/0.4633, allocations: 3.488 MB / 0.5709 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4633, allocations: 192 / 0.5709 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.4648, allocations: 1.247 MB / 0.5721 GB, free: 3.324 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.4664, allocations: 360.2 kB / 0.5724 GB, free: 2.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1732/0.6396, allocations: 32.98 MB / 0.6046 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.6417, allocations: 2.598 MB / 0.6072 GB, free: 107.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002577/0.6443, allocations: 1.245 MB / 0.6084 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/0.6456, allocations: 1.342 MB / 0.6097 GB, free: 106.6 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6456, allocations: 4 kB / 0.6097 GB, free: 106.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.166/1.811, allocations: 49.67 MB / 0.6582 GB, free: 76.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.811, allocations: 238.6 kB / 0.6584 GB, free: 76.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/4.854, allocations: 0 / 0.6584 GB, free: 76.7 MB / 446.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)