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-master/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/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.0007917/0.0007919, allocations: 180.9 kB / 15.45 MB, free: 0.6523 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.098/1.098, allocations: 223.3 MB / 239.5 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000688/0.000688, allocations: 91.7 kB / 290.7 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/package.mo): time 0.0352/0.0352, allocations: 9.119 MB / 350.9 MB, free: 4.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002509/0.000251, allocations: 8.781 kB / 414.1 MB, free: 42.42 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06342/0.06369, allocations: 52.43 MB / 466.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01792/0.08162, allocations: 23 MB / 489.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008044/0.08969, allocations: 5.494 MB / 495.1 MB, free: 248 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.09186, allocations: 79.88 kB / 495.1 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.09246, allocations: 326.3 kB / 495.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.0946, allocations: 1.308 MB / 496.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.09493, allocations: 151.8 kB / 496.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.09745, allocations: 3.51 MB / 0.4887 GB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/0.09817, allocations: 0.7964 MB / 0.4895 GB, free: 10.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.09877, allocations: 0.7622 MB / 0.4902 GB, free: 9.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.09993, allocations: 1.315 MB / 0.4915 GB, free: 7.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.1001, allocations: 132 kB / 0.4916 GB, free: 7.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009755/0.1011, allocations: 0.8345 MB / 0.4924 GB, free: 6.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007575/0.1019, allocations: 1.129 MB / 0.4936 GB, free: 5.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009316/0.1028, allocations: 1.504 MB / 0.495 GB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.1059, allocations: 4.59 MB / 0.4995 GB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1059, allocations: 3.938 kB / 0.4995 GB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1059, allocations: 0 / 0.4995 GB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.1059, allocations: 0 / 0.4995 GB, free: 15.73 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.01221/0.1181, allocations: 4.4 MB / 0.5038 GB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1182, allocations: 12.03 kB / 0.5038 GB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005248/0.1187, allocations: 0.5351 MB / 0.5043 GB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005817/0.1245, allocations: 1.83 MB / 0.5061 GB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.1262, allocations: 1.437 MB / 0.5075 GB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/0.1263, allocations: 144 kB / 0.5077 GB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.1267, allocations: 207.7 kB / 0.5079 GB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.1371, allocations: 8.476 MB / 0.5161 GB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/0.1372, allocations: 23.81 kB / 0.5162 GB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.1375, allocations: 95.86 kB / 0.5163 GB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/0.1401, allocations: 1.88 MB / 0.5181 GB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.152, allocations: 8.152 MB / 0.5261 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1597/0.3117, allocations: 25.98 MB / 0.5514 GB, free: 51.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008058/0.3198, allocations: 2.873 MB / 0.5542 GB, free: 51.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.3211, allocations: 1.081 MB / 0.5553 GB, free: 51.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004359/0.3255, allocations: 5.051 MB / 0.5602 GB, free: 47.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3255, allocations: 43.84 kB / 0.5603 GB, free: 47.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 2.766e-06/0.3255, allocations: 0 / 0.5603 GB, free: 47.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=175): time 0.01338/0.3389, allocations: 8.429 MB / 0.5685 GB, free: 43.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.3389, allocations: 67.19 kB / 0.5686 GB, free: 43.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.3412, allocations: 2.646 MB / 0.5711 GB, free: 41.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.3412, allocations: 46.64 kB / 0.5712 GB, free: 41.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006472/0.3419, allocations: 2.064 MB / 0.5732 GB, free: 39.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.3422, allocations: 0.648 MB / 0.5738 GB, free: 39.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.3424, allocations: 330.7 kB / 0.5741 GB, free: 38.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 2.795e-05/0.3425, allocations: 309.1 kB / 0.5744 GB, free: 38.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.344, allocations: 1.374 MB / 0.5758 GB, free: 37.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.3461, allocations: 3.54 MB / 0.5792 GB, free: 32.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.3499, allocations: 5.331 MB / 0.5844 GB, free: 26.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.3499, allocations: 20 kB / 0.5845 GB, free: 26.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.005611/0.3555, allocations: 5.135 MB / 0.5895 GB, free: 21.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.3556, allocations: 38.34 kB / 0.5895 GB, free: 20.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.296e-05/0.3556, allocations: 76 kB / 0.5896 GB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.3562, allocations: 330.1 kB / 0.5899 GB, free: 20.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.3584, allocations: 0.9046 MB / 0.5908 GB, free: 19.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.3609, allocations: 3.031 MB / 0.5937 GB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.3627, allocations: 193.6 kB / 0.5939 GB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.3629, allocations: 240 kB / 0.5942 GB, free: 16.09 MB / 366.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.001436/0.3643, allocations: 1.583 MB / 0.5957 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.3645, allocations: 229 kB / 0.5959 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.3675, allocations: 2.367 MB / 0.5982 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.26e-05/0.3676, allocations: 31.98 kB / 0.5983 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3676, allocations: 7.984 kB / 0.5983 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3676, allocations: 3.984 kB / 0.5983 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006791/0.3744, allocations: 6.29 MB / 0.6044 GB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3744, allocations: 4 kB / 0.6044 GB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008546/0.3753, allocations: 255.6 kB / 0.6047 GB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.3758, allocations: 224.4 kB / 0.6049 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.337e-05/0.3758, allocations: 33.11 kB / 0.6049 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.3778, allocations: 2.603 MB / 0.6075 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3778, allocations: 3.938 kB / 0.6075 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.3818, allocations: 3.612 MB / 0.611 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.3821, allocations: 330 kB / 0.6113 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.3823, allocations: 25.38 kB / 0.6113 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.3831, allocations: 75.92 kB / 0.6114 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.3833, allocations: 105.8 kB / 0.6115 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.3834, allocations: 48.48 kB / 0.6115 GB, free: 13.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.3854, allocations: 1.708 MB / 0.6132 GB, free: 12.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3854, allocations: 0 / 0.6132 GB, free: 12.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00217/0.3876, allocations: 0.7137 MB / 0.6139 GB, free: 11.53 MB / 382.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.00479/0.3924, allocations: 4.274 MB / 0.6181 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004165/0.3965, allocations: 3.483 MB / 0.6215 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3965, allocations: 0 / 0.6215 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.398, allocations: 1.252 MB / 0.6227 GB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.4001, allocations: 366.2 kB / 0.6231 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0369/0.437, allocations: 33.12 MB / 0.6554 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/0.4393, allocations: 2.591 MB / 0.6579 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00258/0.4418, allocations: 1.247 MB / 0.6591 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/0.4433, allocations: 1.343 MB / 0.6605 GB, free: 7.402 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4433, allocations: 4 kB / 0.6605 GB, free: 7.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1868/0.6301, allocations: 49.17 MB / 0.7085 GB, free: 148.4 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001264/0.6302, allocations: 236.3 kB / 0.7087 GB, free: 148.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.886, allocations: 1.375 kB / 0.7087 GB, free: 148.2 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/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)