Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 218.4 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.05166/0.05166, allocations: 9.231 MB / 321.7 MB, free: 10.06 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 71.89 kB / 448.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1388, allocations: 55.47 MB / 0.4919 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.01285/0.1517, allocations: 8.867 MB / 0.5005 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007226/0.1589, allocations: 2.736 MB / 0.5032 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.161, allocations: 43.81 kB / 0.5033 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.1625, allocations: 385.3 kB / 0.5036 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00511/0.1676, allocations: 1.467 MB / 0.5051 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1687, allocations: 179.7 kB / 0.5052 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004832/0.1735, allocations: 2.605 MB / 0.5078 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.1754, allocations: 0.8247 MB / 0.5086 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.1775, allocations: 0.9532 MB / 0.5095 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.1804, allocations: 1.463 MB / 0.5109 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009115/0.1813, allocations: 244 kB / 0.5112 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.1837, allocations: 0.8932 MB / 0.512 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.1857, allocations: 1.238 MB / 0.5133 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2875/0.4732, allocations: 1.583 MB / 0.5148 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007273/0.4805, allocations: 5.062 MB / 0.5197 GB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4805, allocations: 0.5312 kB / 0.5197 GB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4805, allocations: 0.8438 kB / 0.5197 GB, free: 11.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001629/0.4806, allocations: 0 / 0.5197 GB, free: 11.76 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01224/0.4929, allocations: 3.971 MB / 0.5236 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.4929, allocations: 13.31 kB / 0.5236 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/0.5005, allocations: 1.789 MB / 0.5254 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/0.505, allocations: 1.346 MB / 0.5267 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.5052, allocations: 155.5 kB / 0.5268 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008012/0.506, allocations: 202.5 kB / 0.527 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.5216, allocations: 8.005 MB / 0.5349 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.5217, allocations: 28.39 kB / 0.5349 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/0.5221, allocations: 92.14 kB / 0.535 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00335/0.5254, allocations: 1.846 MB / 0.5368 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/0.5428, allocations: 7.178 MB / 0.5438 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04715/0.5899, allocations: 24.32 MB / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/0.5959, allocations: 1.852 MB / 0.5693 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.5975, allocations: 0.7704 MB / 0.5701 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009223/0.6068, allocations: 3.238 MB / 0.5733 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.6068, allocations: 44.08 kB / 0.5733 GB, free: 9.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=131): time 3.928e-06/0.6068, allocations: 0 / 0.5733 GB, free: 9.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.01872/0.6255, allocations: 6.781 MB / 0.5799 GB, free: 2.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6257, allocations: 64.72 kB / 0.58 GB, free: 2.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008/0.6337, allocations: 2.669 MB / 0.5826 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003158/0.634, allocations: 49.7 kB / 0.5826 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002837/0.6368, allocations: 2.195 MB / 0.5848 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/0.638, allocations: 0.5978 MB / 0.5854 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002332/0.6403, allocations: 0.7827 MB / 0.5861 GB, free: 12.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.6405, allocations: 301.1 kB / 0.5864 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004326/0.6448, allocations: 1.3 MB / 0.5877 GB, free: 10.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00729/0.6521, allocations: 3.433 MB / 0.591 GB, free: 6.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.6642, allocations: 5.087 MB / 0.596 GB, free: 424 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/0.6643, allocations: 20 kB / 0.596 GB, free: 404 kB / 430.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01793/0.6822, allocations: 4.912 MB / 0.6008 GB, free: 11.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.6824, allocations: 40.25 kB / 0.6009 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/0.6826, allocations: 76 kB / 0.6009 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.684, allocations: 302.6 kB / 0.6012 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00579/0.6898, allocations: 0.8617 MB / 0.6021 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008504/0.6983, allocations: 3.548 MB / 0.6055 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005491/0.7037, allocations: 200 kB / 0.6057 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/0.7048, allocations: 234.3 kB / 0.6059 GB, free: 6.395 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (472): * Single equations (assignments): 467 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005817/0.7106, allocations: 1.569 MB / 0.6075 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009662/0.7116, allocations: 238.4 kB / 0.6077 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006942/0.7185, allocations: 2.013 MB / 0.6097 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001837/0.7187, allocations: 24.97 kB / 0.6097 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/0.7188, allocations: 7.938 kB / 0.6097 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.7188, allocations: 11.91 kB / 0.6097 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.7347, allocations: 5.639 MB / 0.6152 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.7347, allocations: 5.031 kB / 0.6152 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000952/0.7356, allocations: 207.7 kB / 0.6154 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006334/0.7363, allocations: 204.7 kB / 0.6156 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.7364, allocations: 28 kB / 0.6156 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/0.7406, allocations: 2.852 MB / 0.6184 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/0.7406, allocations: 4.812 kB / 0.6184 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006099/0.7467, allocations: 3.114 MB / 0.6215 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.7481, allocations: 390.3 kB / 0.6218 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006277/0.7487, allocations: 27.91 kB / 0.6219 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.7499, allocations: 63.92 kB / 0.6219 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.7501, allocations: 84.83 kB / 0.622 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.7502, allocations: 48.17 kB / 0.6221 GB, free: 5.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004125/0.7544, allocations: 1.72 MB / 0.6237 GB, free: 3.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7544, allocations: 0 / 0.6237 GB, free: 3.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0044/0.7588, allocations: 0.6794 MB / 0.6244 GB, free: 3.219 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,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 (113): * Single equations (assignments): 108 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005189/0.7593, allocations: 154.9 kB / 0.6246 GB, free: 3.059 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007046/0.7663, allocations: 3.063 MB / 0.6275 GB, free: 0 / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.7663, allocations: 0 / 0.6275 GB, free: 0 / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.7683, allocations: 0.9767 MB / 0.6285 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.7714, allocations: 415.9 kB / 0.6289 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/0.789, allocations: 6.714 MB / 0.6354 GB, free: 7.867 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004825/0.7938, allocations: 2.594 MB / 0.638 GB, free: 5.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003467/0.7973, allocations: 1.188 MB / 0.6391 GB, free: 4.059 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.7979, allocations: 167.4 kB / 0.6393 GB, free: 3.895 MB / 478.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7979, allocations: 0 / 0.6393 GB, free: 3.895 MB / 478.1 MB Notification: Performance of Templates: time 0.06353/0.8614, allocations: 28.27 MB / 0.6669 GB, free: 7.844 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.68719709594734] Failed to read output from testmodel.py, exit status != 0: 0.8724423588719219 0.888874872 0.40478167600000003 Calling exit ...