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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04764/0.04764, allocations: 9.235 MB / 313.7 MB, free: 1.551 MB / 238.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-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.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: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.88 kB / 437.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3521, allocations: 54.24 MB / 491.6 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.01049/0.3626, allocations: 8.881 MB / 0.4888 GB, free: 19.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006541/0.3691, allocations: 2.698 MB / 0.4914 GB, free: 17.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.3707, allocations: 41 kB / 0.4914 GB, free: 17.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009079/0.3716, allocations: 394.1 kB / 0.4918 GB, free: 17.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.3753, allocations: 1.469 MB / 0.4932 GB, free: 16.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.3758, allocations: 177.1 kB / 0.4934 GB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003335/0.3791, allocations: 2.616 MB / 0.496 GB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009952/0.3801, allocations: 0.8225 MB / 0.4968 GB, free: 13.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.3814, allocations: 0.9409 MB / 0.4977 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.3829, allocations: 1.459 MB / 0.4991 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.3833, allocations: 243.8 kB / 0.4993 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.3848, allocations: 0.8815 MB / 0.5002 GB, free: 12.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009956/0.3858, allocations: 1.261 MB / 0.5014 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.3871, allocations: 1.595 MB / 0.503 GB, free: 9.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.3933, allocations: 5.097 MB / 0.508 GB, free: 6.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3933, allocations: 1.531 kB / 0.508 GB, free: 6.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3933, allocations: 0 / 0.508 GB, free: 6.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001395/0.3935, allocations: 0 / 0.508 GB, free: 6.469 MB / 366.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.00926/0.4027, allocations: 4.031 MB / 0.5119 GB, free: 2.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4028, allocations: 12.03 kB / 0.5119 GB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/0.4086, allocations: 1.793 MB / 0.5137 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.4115, allocations: 1.41 MB / 0.515 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.4117, allocations: 156.1 kB / 0.5152 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004833/0.4122, allocations: 204 kB / 0.5154 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.4264, allocations: 7.997 MB / 0.5232 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-05/0.4265, allocations: 31.8 kB / 0.5232 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.4268, allocations: 91.86 kB / 0.5233 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003075/0.4298, allocations: 1.844 MB / 0.5251 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.445, allocations: 7.18 MB / 0.5321 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04315/0.4881, allocations: 24.41 MB / 0.556 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005573/0.4937, allocations: 2.306 MB / 0.5582 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.495, allocations: 0.7699 MB / 0.559 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00774/0.5028, allocations: 4.655 MB / 0.5635 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.5028, allocations: 47.56 kB / 0.5636 GB, free: 12.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=131): time 6.562e-06/0.5028, allocations: 4 kB / 0.5636 GB, free: 12.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.01444/0.5172, allocations: 6.922 MB / 0.5703 GB, free: 5.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.5173, allocations: 64.72 kB / 0.5704 GB, free: 5.266 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.5214, allocations: 2.672 MB / 0.573 GB, free: 2.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.5216, allocations: 41.7 kB / 0.573 GB, free: 2.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.5233, allocations: 2.2 MB / 0.5752 GB, free: 304 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007097/0.524, allocations: 0.597 MB / 0.5758 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.5251, allocations: 0.7904 MB / 0.5765 GB, free: 14.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5253, allocations: 312.9 kB / 0.5768 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.5275, allocations: 1.292 MB / 0.5781 GB, free: 13.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004022/0.5315, allocations: 3.432 MB / 0.5814 GB, free: 8.793 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007216/0.5387, allocations: 5.079 MB / 0.5864 GB, free: 2.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.626e-05/0.5388, allocations: 20 kB / 0.5864 GB, free: 2.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01022/0.549, allocations: 4.901 MB / 0.5912 GB, free: 13.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/0.5491, allocations: 36 kB / 0.5912 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/0.5492, allocations: 76 kB / 0.5913 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/0.5499, allocations: 319.6 kB / 0.5916 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/0.5531, allocations: 0.8617 MB / 0.5925 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.5589, allocations: 3.653 MB / 0.596 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/0.5646, allocations: 204.1 kB / 0.5962 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009852/0.5656, allocations: 232 kB / 0.5965 GB, free: 8.238 MB / 462.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.003986/0.5695, allocations: 1.566 MB / 0.598 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.5701, allocations: 242.3 kB / 0.5982 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/0.5738, allocations: 2.01 MB / 0.6002 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/0.5739, allocations: 35.92 kB / 0.6002 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5739, allocations: 0 / 0.6002 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.5739, allocations: 11.97 kB / 0.6002 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3451/0.919, allocations: 5.665 MB / 0.6058 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.919, allocations: 2.344 kB / 0.6058 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009749/0.92, allocations: 202.7 kB / 0.6059 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007475/0.9208, allocations: 209.1 kB / 0.6061 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.9209, allocations: 31.38 kB / 0.6062 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004165/0.925, allocations: 2.956 MB / 0.6091 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.925, allocations: 2.344 kB / 0.6091 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005826/0.9309, allocations: 3.109 MB / 0.6121 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/0.9322, allocations: 457.8 kB / 0.6125 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.9325, allocations: 35.77 kB / 0.6126 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/0.9332, allocations: 60.78 kB / 0.6126 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.9335, allocations: 86.2 kB / 0.6127 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.9336, allocations: 40.72 kB / 0.6128 GB, free: 100.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004411/0.938, allocations: 1.72 MB / 0.6144 GB, free: 99.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.938, allocations: 3.781 kB / 0.6144 GB, free: 99.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00528/0.9433, allocations: 0.6903 MB / 0.6151 GB, free: 99.73 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.0004114/0.9437, allocations: 158.4 kB / 0.6153 GB, free: 99.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006789/0.9505, allocations: 3.057 MB / 0.6182 GB, free: 98.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/0.9505, allocations: 2.156 kB / 0.6182 GB, free: 98.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.9523, allocations: 0.9785 MB / 0.6192 GB, free: 98.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.9549, allocations: 412.8 kB / 0.6196 GB, free: 97.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.969, allocations: 6.717 MB / 0.6262 GB, free: 94.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003191/0.9722, allocations: 2.587 MB / 0.6287 GB, free: 93.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00317/0.9754, allocations: 1.183 MB / 0.6298 GB, free: 93.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.9758, allocations: 167.7 kB / 0.63 GB, free: 93.65 MB / 462.1 MB Notification: Performance of SimCode: time 1.393e-06/0.9758, allocations: 0 / 0.63 GB, free: 93.65 MB / 462.1 MB Notification: Performance of Templates: time 0.0455/1.021, allocations: 26.64 MB / 0.656 GB, free: 72.08 MB / 462.1 MB " [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.572573935613036]