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.000733/0.000733, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.004166/0.004166, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.218/1.218, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.146/0.146, allocations: 9.099 MB / 300.5 MB, free: 2.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 4 kB / 363.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08241/0.08271, allocations: 52.42 MB / 416.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.178/0.2608, allocations: 22.97 MB / 439.2 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00944/0.2702, allocations: 5.499 MB / 444.7 MB, free: 27.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.274, allocations: 92.94 kB / 444.8 MB, free: 27.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009616/0.275, allocations: 302.7 kB / 445.1 MB, free: 27.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.2782, allocations: 1.32 MB / 446.4 MB, free: 27.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.2788, allocations: 152.7 kB / 446.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003093/0.2819, allocations: 3.502 MB / 450.1 MB, free: 25.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.2831, allocations: 0.7982 MB / 450.9 MB, free: 25.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.2843, allocations: 0.7549 MB / 451.6 MB, free: 25.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.2858, allocations: 1.329 MB / 452.9 MB, free: 24.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002664/0.2861, allocations: 129.7 kB / 453.1 MB, free: 24.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.2872, allocations: 0.8197 MB / 453.9 MB, free: 24.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006864/0.2879, allocations: 1.137 MB / 455 MB, free: 24.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008714/0.2888, allocations: 1.502 MB / 456.5 MB, free: 23.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.2916, allocations: 4.61 MB / 461.1 MB, free: 21.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2917, allocations: 0 / 461.1 MB, free: 21.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2917, allocations: 0 / 461.1 MB, free: 21.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.356e-05/0.2917, allocations: 0 / 461.1 MB, free: 21.69 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.01323/0.3049, allocations: 4.394 MB / 465.5 MB, free: 19.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.305, allocations: 11.75 kB / 465.5 MB, free: 19.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007453/0.3057, allocations: 0.5449 MB / 466.1 MB, free: 19.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006586/0.3123, allocations: 1.821 MB / 467.9 MB, free: 19.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.3147, allocations: 1.443 MB / 469.3 MB, free: 18.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.3148, allocations: 149.3 kB / 469.5 MB, free: 18.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004496/0.3153, allocations: 198.7 kB / 469.7 MB, free: 18.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.3285, allocations: 8.473 MB / 478.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-05/0.3286, allocations: 22.12 kB / 478.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/0.3289, allocations: 93.91 kB / 478.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002968/0.3319, allocations: 1.882 MB / 480.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.3462, allocations: 8.15 MB / 488.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.3756, allocations: 26 MB / 0.5022 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009028/0.3847, allocations: 2.874 MB / 0.5051 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.3862, allocations: 1.083 MB / 0.5061 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0056/0.3918, allocations: 5.045 MB / 0.511 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3918, allocations: 43.88 kB / 0.5111 GB, free: 7.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 2.986e-06/0.3918, allocations: 0 / 0.5111 GB, free: 7.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.0167/0.4086, allocations: 8.428 MB / 0.5193 GB, free: 14.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.4086, allocations: 64.72 kB / 0.5194 GB, free: 14.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/0.4118, allocations: 2.638 MB / 0.5219 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.4119, allocations: 45.7 kB / 0.522 GB, free: 11.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.4131, allocations: 2.074 MB / 0.524 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.4136, allocations: 0.6398 MB / 0.5246 GB, free: 8.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.4139, allocations: 338.7 kB / 0.525 GB, free: 8.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.414, allocations: 309.1 kB / 0.5253 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.416, allocations: 1.378 MB / 0.5266 GB, free: 6.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/0.4191, allocations: 3.544 MB / 0.5301 GB, free: 2.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/0.4246, allocations: 5.32 MB / 0.5353 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.912e-05/0.4247, allocations: 20 kB / 0.5353 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.007267/0.4319, allocations: 5.138 MB / 0.5403 GB, free: 6.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.432, allocations: 40 kB / 0.5403 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-05/0.4321, allocations: 76.06 kB / 0.5404 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007365/0.4328, allocations: 317.5 kB / 0.5407 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/0.4353, allocations: 0.9085 MB / 0.5416 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.4387, allocations: 3.048 MB / 0.5446 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.441, allocations: 188 kB / 0.5448 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.4413, allocations: 244 kB / 0.545 GB, free: 1.863 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.002173/0.4434, allocations: 1.576 MB / 0.5465 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.4437, allocations: 232.9 kB / 0.5467 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.4475, allocations: 2.367 MB / 0.5491 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-05/0.4476, allocations: 27.98 kB / 0.5491 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4476, allocations: 4 kB / 0.5491 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.4476, allocations: 11.97 kB / 0.5491 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008596/0.4562, allocations: 6.293 MB / 0.5552 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4562, allocations: 4.281 kB / 0.5553 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.4572, allocations: 252 kB / 0.5555 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005815/0.4578, allocations: 221.5 kB / 0.5557 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/0.4579, allocations: 39.92 kB / 0.5557 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.4605, allocations: 2.605 MB / 0.5583 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4605, allocations: 8.016 kB / 0.5583 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004564/0.4651, allocations: 3.615 MB / 0.5618 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/0.4656, allocations: 322.2 kB / 0.5621 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.4658, allocations: 27.94 kB / 0.5622 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/0.4666, allocations: 71.92 kB / 0.5622 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.4668, allocations: 97.17 kB / 0.5623 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/0.4669, allocations: 55.98 kB / 0.5624 GB, free: 15.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002146/0.4691, allocations: 1.7 MB / 0.564 GB, free: 13.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.4691, allocations: 0 / 0.564 GB, free: 13.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002526/0.4716, allocations: 0.7187 MB / 0.5647 GB, free: 13.24 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.004969/0.4766, allocations: 4.278 MB / 0.5689 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004706/0.4813, allocations: 3.483 MB / 0.5723 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4813, allocations: 0 / 0.5723 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.4828, allocations: 1.252 MB / 0.5735 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.4851, allocations: 370.9 kB / 0.5739 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2193/0.7044, allocations: 33.09 MB / 0.6062 GB, free: 92.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/0.7065, allocations: 2.604 MB / 0.6087 GB, free: 91.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002688/0.7092, allocations: 1.239 MB / 0.61 GB, free: 91.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.7106, allocations: 1.345 MB / 0.6113 GB, free: 89.96 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7106, allocations: 0 / 0.6113 GB, free: 89.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4198/1.13, allocations: 49.18 MB / 0.6593 GB, free: 60.08 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/1.131, allocations: 242.2 kB / 0.6595 GB, free: 59.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.722, allocations: 8.812 kB / 0.6595 GB, free: 59.81 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)