Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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-master/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/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: translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001133/0.001134, allocations: 191.4 kB / 16.14 MB, free: 6.703 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.2033/0.2033, allocations: 9.112 MB / 299.1 MB, free: 1.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 59.89 kB / 361.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 51.44 MB / 412.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.2294/0.3493, allocations: 26.9 MB / 439.6 MB, free: 28.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3629, allocations: 6.026 MB / 445.6 MB, free: 25.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006754/0.3697, allocations: 98.25 kB / 445.7 MB, free: 25.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009757/0.3707, allocations: 300.5 kB / 446 MB, free: 25.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002951/0.3737, allocations: 1.312 MB / 447.3 MB, free: 24.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.374, allocations: 92.73 kB / 447.4 MB, free: 24.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002557/0.3766, allocations: 3.424 MB / 450.8 MB, free: 23.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008018/0.3774, allocations: 0.756 MB / 451.6 MB, free: 23.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008076/0.3782, allocations: 0.7284 MB / 452.3 MB, free: 22.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.3794, allocations: 1.279 MB / 453.6 MB, free: 22.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.3796, allocations: 125 kB / 453.7 MB, free: 22.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3809, allocations: 0.7625 MB / 454.5 MB, free: 22.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008319/0.3818, allocations: 1.125 MB / 455.6 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.3829, allocations: 1.455 MB / 457.1 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00402/0.3869, allocations: 4.577 MB / 461.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3869, allocations: 0 / 461.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3869, allocations: 0 / 461.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.889e-05/0.387, allocations: 0 / 461.6 MB, free: 18.99 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01055/0.3976, allocations: 4.726 MB / 466.4 MB, free: 16.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3976, allocations: 9.562 kB / 466.4 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006005/0.4036, allocations: 1.752 MB / 468.1 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.406, allocations: 1.326 MB / 469.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.4062, allocations: 140.6 kB / 469.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/0.4066, allocations: 187.8 kB / 469.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.4196, allocations: 8.354 MB / 478.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.87e-05/0.4197, allocations: 28.08 kB / 478.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.42, allocations: 89.45 kB / 478.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003041/0.4231, allocations: 1.942 MB / 480.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.4387, allocations: 7.546 MB / 487.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03926/0.478, allocations: 26.36 MB / 0.502 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/0.4851, allocations: 2.6 MB / 0.5046 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.4866, allocations: 0.8649 MB / 0.5054 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007809/0.4945, allocations: 5.774 MB / 0.5111 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4945, allocations: 47.5 kB / 0.5111 GB, free: 4.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 5.43e-06/0.4946, allocations: 4.609 kB / 0.5111 GB, free: 4.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01543/0.51, allocations: 6.943 MB / 0.5179 GB, free: 13.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5101, allocations: 64.72 kB / 0.518 GB, free: 13.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/0.5138, allocations: 2.61 MB / 0.5205 GB, free: 10.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.514, allocations: 45.7 kB / 0.5206 GB, free: 10.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.5154, allocations: 2.139 MB / 0.5226 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/0.5159, allocations: 0.586 MB / 0.5232 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.517, allocations: 0.8336 MB / 0.524 GB, free: 7.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5171, allocations: 301.1 kB / 0.5243 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.5192, allocations: 1.308 MB / 0.5256 GB, free: 5.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/0.5227, allocations: 3.718 MB / 0.5292 GB, free: 0.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006856/0.5296, allocations: 5.447 MB / 0.5345 GB, free: 9.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.355e-05/0.5297, allocations: 24 kB / 0.5346 GB, free: 9.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009443/0.5392, allocations: 5.101 MB / 0.5395 GB, free: 4.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.5392, allocations: 40 kB / 0.5396 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.626e-05/0.5393, allocations: 84 kB / 0.5397 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006571/0.54, allocations: 281.4 kB / 0.5399 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/0.5428, allocations: 0.9322 MB / 0.5408 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.5463, allocations: 2.928 MB / 0.5437 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/0.549, allocations: 191.9 kB / 0.5439 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/0.5494, allocations: 254.2 kB / 0.5441 GB, free: 15.99 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (510): * Single equations (assignments): 505 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.002549/0.5519, allocations: 1.619 MB / 0.5457 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.5523, allocations: 221.1 kB / 0.5459 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.5556, allocations: 1.971 MB / 0.5478 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001049/0.5557, allocations: 23.98 kB / 0.5479 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5557, allocations: 7.094 kB / 0.5479 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5558, allocations: 7.969 kB / 0.5479 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009564/0.5653, allocations: 5.962 MB / 0.5537 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5654, allocations: 4 kB / 0.5537 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008615/0.5662, allocations: 220.3 kB / 0.5539 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/0.5667, allocations: 173.2 kB / 0.5541 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.5668, allocations: 31.98 kB / 0.5541 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.5695, allocations: 2.42 MB / 0.5565 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5696, allocations: 7.938 kB / 0.5565 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/0.5747, allocations: 3.121 MB / 0.5595 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009462/0.5757, allocations: 306.2 kB / 0.5598 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.576, allocations: 31.98 kB / 0.5599 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000775/0.5768, allocations: 59.94 kB / 0.5599 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.577, allocations: 96.75 kB / 0.56 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.384e-05/0.5771, allocations: 51.98 kB / 0.5601 GB, free: 15.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002562/0.5797, allocations: 1.672 MB / 0.5617 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5797, allocations: 0 / 0.5617 GB, free: 13.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003089/0.5828, allocations: 0.6797 MB / 0.5624 GB, free: 12.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,revolute.phi,revolute.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 (118): * Single equations (assignments): 113 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003833/0.5832, allocations: 170.9 kB / 0.5625 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005344/0.5886, allocations: 3.228 MB / 0.5657 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5886, allocations: 0 / 0.5657 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.5901, allocations: 1.012 MB / 0.5667 GB, free: 8.473 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.5922, allocations: 369.1 kB / 0.567 GB, free: 8.117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2731/0.8653, allocations: 8.169 MB / 0.575 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004306/0.8697, allocations: 2.588 MB / 0.5775 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003533/0.8733, allocations: 1.279 MB / 0.5788 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.8737, allocations: 173.7 kB / 0.5789 GB, free: 102.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.8738, allocations: 0 / 0.5789 GB, free: 102.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05309/0.9269, allocations: 23.97 MB / 0.6023 GB, free: 99.85 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1)