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.001222/0.001222, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001342/0.001342, allocations: 214.4 kB / 23.01 MB, free: 4.566 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.312/1.312, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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.04628/0.04628, allocations: 9.233 MB / 322.4 MB, free: 10.07 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.001985/0.001985, allocations: 69.94 kB / 449 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09787, allocations: 55.48 MB / 0.4926 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.01085/0.1087, allocations: 8.863 MB / 0.5013 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005384/0.1141, allocations: 2.737 MB / 0.504 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.1152, allocations: 39.88 kB / 0.504 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.1163, allocations: 389.3 kB / 0.5044 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.1198, allocations: 1.463 MB / 0.5058 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.1203, allocations: 179.7 kB / 0.506 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.1238, allocations: 2.604 MB / 0.5085 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.1251, allocations: 0.8247 MB / 0.5093 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.1266, allocations: 0.9532 MB / 0.5103 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.1288, allocations: 1.467 MB / 0.5117 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005858/0.1294, allocations: 240 kB / 0.5119 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.1312, allocations: 0.8932 MB / 0.5128 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.1326, allocations: 1.242 MB / 0.514 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1744/0.307, allocations: 1.579 MB / 0.5155 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.3119, allocations: 5.061 MB / 0.5205 GB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3119, allocations: 4.469 kB / 0.5205 GB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3119, allocations: 0.8438 kB / 0.5205 GB, free: 11.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001069/0.312, allocations: 0 / 0.5205 GB, free: 11.81 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.008424/0.3204, allocations: 3.97 MB / 0.5244 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3204, allocations: 9.406 kB / 0.5244 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006053/0.3265, allocations: 1.793 MB / 0.5261 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.3292, allocations: 1.35 MB / 0.5275 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.3293, allocations: 151.5 kB / 0.5276 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004399/0.3297, allocations: 202.1 kB / 0.5278 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.3401, allocations: 8.007 MB / 0.5356 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.405e-05/0.3402, allocations: 23.77 kB / 0.5356 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.3405, allocations: 95.94 kB / 0.5357 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002543/0.343, allocations: 1.847 MB / 0.5375 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.3555, allocations: 7.174 MB / 0.5445 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03525/0.3908, allocations: 24.32 MB / 0.5683 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/0.396, allocations: 1.853 MB / 0.5701 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.3974, allocations: 0.7817 MB / 0.5709 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007602/0.405, allocations: 3.228 MB / 0.574 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.4051, allocations: 47.56 kB / 0.5741 GB, free: 9.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=131): time 4.187e-06/0.4051, allocations: 0 / 0.5741 GB, free: 9.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.01483/0.4199, allocations: 6.775 MB / 0.5807 GB, free: 2.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.42, allocations: 68.19 kB / 0.5807 GB, free: 2.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/0.4248, allocations: 2.672 MB / 0.5833 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.425, allocations: 45.7 kB / 0.5834 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.4268, allocations: 2.195 MB / 0.5855 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007231/0.4276, allocations: 0.5988 MB / 0.5861 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.429, allocations: 0.7905 MB / 0.5869 GB, free: 12.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4292, allocations: 305.1 kB / 0.5872 GB, free: 12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.4315, allocations: 1.292 MB / 0.5884 GB, free: 10.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/0.4355, allocations: 3.433 MB / 0.5918 GB, free: 6.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00628/0.4418, allocations: 5.087 MB / 0.5968 GB, free: 440 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.526e-05/0.4418, allocations: 20 kB / 0.5968 GB, free: 420 kB / 430.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.008774/0.4506, allocations: 4.904 MB / 0.6016 GB, free: 11.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.867e-05/0.4507, allocations: 40 kB / 0.6016 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.4508, allocations: 72.88 kB / 0.6017 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007655/0.4516, allocations: 308.6 kB / 0.602 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.4542, allocations: 0.8656 MB / 0.6028 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.459, allocations: 3.545 MB / 0.6063 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.4615, allocations: 203.3 kB / 0.6065 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/0.4621, allocations: 235.3 kB / 0.6067 GB, free: 6.402 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.002776/0.4648, allocations: 1.565 MB / 0.6082 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/0.4653, allocations: 238.4 kB / 0.6085 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/0.469, allocations: 2.017 MB / 0.6104 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.4691, allocations: 27.98 kB / 0.6104 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.4691, allocations: 7.984 kB / 0.6105 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.4691, allocations: 8.438 kB / 0.6105 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.4807, allocations: 5.648 MB / 0.616 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4807, allocations: 0 / 0.616 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008465/0.4815, allocations: 199.7 kB / 0.6162 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005807/0.4821, allocations: 212.9 kB / 0.6164 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.4822, allocations: 24 kB / 0.6164 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.4858, allocations: 2.848 MB / 0.6192 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4858, allocations: 4.062 kB / 0.6192 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/0.4906, allocations: 3.117 MB / 0.6222 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.4917, allocations: 386.3 kB / 0.6226 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004162/0.4922, allocations: 27.98 kB / 0.6226 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/0.4931, allocations: 65.09 kB / 0.6227 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.4933, allocations: 84.78 kB / 0.6228 GB, free: 5.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.727e-05/0.4934, allocations: 50.64 kB / 0.6228 GB, free: 5.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003026/0.4964, allocations: 1.72 MB / 0.6245 GB, free: 3.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4964, allocations: 1.031 kB / 0.6245 GB, free: 3.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003014/0.4994, allocations: 0.6757 MB / 0.6252 GB, free: 3.227 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.0003743/0.4998, allocations: 166.2 kB / 0.6253 GB, free: 3.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005192/0.505, allocations: 3.056 MB / 0.6283 GB, free: 4 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.505, allocations: 4.5 kB / 0.6283 GB, free: 0 / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.5065, allocations: 0.9669 MB / 0.6292 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.002013/0.5085, allocations: 415.6 kB / 0.6296 GB, free: 14.63 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.5214, allocations: 7.079 MB / 0.6366 GB, free: 7.508 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003527/0.525, allocations: 2.593 MB / 0.6391 GB, free: 4.887 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/0.5257, allocations: 211.4 kB / 0.6393 GB, free: 4.68 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5257, allocations: 0 / 0.6393 GB, free: 4.68 MB / 478.1 MB Notification: Performance of Templates: time 0.08018/0.6059, allocations: 57.47 MB / 0.6954 GB, free: 11.34 MB / 0.5294 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: 10.686341433087364] Failed to read output from testmodel.py, exit status != 0: 0.6146720331162214 0.6288734420000001 0.31400367900000004 Calling exit ...