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.001309/0.001309, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001483/0.001483, allocations: 214.6 kB / 22.25 MB, free: 4.859 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.824 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.05057/0.05057, allocations: 9.231 MB / 321.7 MB, free: 9.879 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.003438/0.003438, allocations: 73.92 kB / 448.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1305, allocations: 55.47 MB / 0.4918 GB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.01057/0.141, allocations: 7.78 MB / 0.4994 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.1467, allocations: 2.589 MB / 0.5019 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.1476, allocations: 39.88 kB / 0.502 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000852/0.1484, allocations: 389.2 kB / 0.5024 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.1517, allocations: 1.471 MB / 0.5038 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.1521, allocations: 175.8 kB / 0.504 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.1552, allocations: 2.596 MB / 0.5065 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.1565, allocations: 0.8091 MB / 0.5073 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1577, allocations: 0.9532 MB / 0.5082 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.1597, allocations: 1.397 MB / 0.5096 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004042/0.1601, allocations: 248 kB / 0.5098 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.1616, allocations: 0.7723 MB / 0.5106 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.1628, allocations: 1.238 MB / 0.5118 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.164, allocations: 1.126 MB / 0.5129 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2059/0.3699, allocations: 5.067 MB / 0.5178 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3699, allocations: 0.5312 kB / 0.5178 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3699, allocations: 0.5 kB / 0.5178 GB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001063/0.3701, allocations: 0 / 0.5178 GB, free: 12.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.008774/0.3788, allocations: 3.977 MB / 0.5217 GB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3789, allocations: 10.22 kB / 0.5217 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007018/0.3859, allocations: 1.788 MB / 0.5235 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.3891, allocations: 1.358 MB / 0.5248 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.3893, allocations: 151.2 kB / 0.5249 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005116/0.3898, allocations: 206.2 kB / 0.5251 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.4019, allocations: 8.002 MB / 0.5329 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.626e-05/0.402, allocations: 23.42 kB / 0.533 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.4023, allocations: 102.6 kB / 0.5331 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003024/0.4053, allocations: 1.848 MB / 0.5349 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.4203, allocations: 7.159 MB / 0.5419 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/0.4557, allocations: 22.02 MB / 0.5634 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005696/0.4614, allocations: 1.853 MB / 0.5652 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.463, allocations: 0.7704 MB / 0.5659 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007752/0.4707, allocations: 2.911 MB / 0.5688 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.4708, allocations: 48.62 kB / 0.5688 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=131): time 3.887e-06/0.4708, allocations: 4 kB / 0.5688 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.01548/0.4863, allocations: 6.74 MB / 0.5754 GB, free: 7.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.4863, allocations: 64.72 kB / 0.5755 GB, free: 7.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004218/0.4905, allocations: 2.286 MB / 0.5777 GB, free: 5.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.4907, allocations: 47.89 kB / 0.5777 GB, free: 5.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.4925, allocations: 2.218 MB / 0.5799 GB, free: 3.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/0.4931, allocations: 0.5993 MB / 0.5805 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.4944, allocations: 0.7982 MB / 0.5813 GB, free: 1.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4946, allocations: 345.9 kB / 0.5816 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/0.4971, allocations: 1.296 MB / 0.5829 GB, free: 92 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004349/0.5015, allocations: 3.443 MB / 0.5862 GB, free: 11.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006902/0.5084, allocations: 5.077 MB / 0.5912 GB, free: 5.824 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.919e-05/0.5084, allocations: 20 kB / 0.5912 GB, free: 5.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009307/0.5178, allocations: 4.879 MB / 0.596 GB, free: 1.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/0.5178, allocations: 36 kB / 0.596 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/0.518, allocations: 72.16 kB / 0.5961 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008443/0.5188, allocations: 308.8 kB / 0.5964 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.5216, allocations: 0.8626 MB / 0.5972 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.5266, allocations: 3.491 MB / 0.6006 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.5291, allocations: 199 kB / 0.6008 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004031/0.5295, allocations: 232 kB / 0.601 GB, free: 11.84 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.002709/0.5322, allocations: 1.57 MB / 0.6026 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004081/0.5326, allocations: 206.6 kB / 0.6028 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/0.5364, allocations: 1.967 MB / 0.6047 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/0.5365, allocations: 31.92 kB / 0.6047 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5365, allocations: 5.312 kB / 0.6047 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.5365, allocations: 11.97 kB / 0.6047 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00978/0.5463, allocations: 4.596 MB / 0.6092 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5463, allocations: 0 / 0.6092 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/0.5472, allocations: 204 kB / 0.6094 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/0.5478, allocations: 204.7 kB / 0.6096 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.5479, allocations: 34.33 kB / 0.6096 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.5516, allocations: 2.796 MB / 0.6124 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.5516, allocations: 7.969 kB / 0.6124 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/0.5567, allocations: 3.071 MB / 0.6154 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009507/0.5576, allocations: 330.6 kB / 0.6157 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/0.558, allocations: 31.98 kB / 0.6157 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008895/0.5589, allocations: 63.92 kB / 0.6158 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.559, allocations: 88.78 kB / 0.6159 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-05/0.5591, allocations: 45.14 kB / 0.6159 GB, free: 12.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002378/0.5615, allocations: 1.349 MB / 0.6172 GB, free: 11.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5615, allocations: 0 / 0.6172 GB, free: 11.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002922/0.5644, allocations: 0.6786 MB / 0.6179 GB, free: 10.38 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.0003442/0.5648, allocations: 152.7 kB / 0.618 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005421/0.5702, allocations: 3.053 MB / 0.621 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5702, allocations: 256 / 0.621 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.5718, allocations: 0.9804 MB / 0.622 GB, free: 6.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.5733, allocations: 287 kB / 0.6223 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.5859, allocations: 6.628 MB / 0.6287 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/0.5895, allocations: 2.033 MB / 0.6307 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003042/0.5925, allocations: 1.132 MB / 0.6318 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.593, allocations: 151.4 kB / 0.632 GB, free: 11.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.353e-06/0.593, allocations: 0 / 0.632 GB, free: 11.9 MB / 478.1 MB Notification: Performance of Templates: time 0.04774/0.6408, allocations: 24.18 MB / 0.6556 GB, free: 4.043 MB / 494.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: 5.57435935921967] Failed to read output from testmodel.py, exit status != 0: 0.6517868582159281 0.664979734 0.29175273399999996 Calling exit ...