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.001332/0.001332, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001449/0.001449, allocations: 156.8 kB / 23.01 MB, free: 4.598 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.381/1.381, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.04709/0.04709, allocations: 7.121 MB / 266.9 MB, free: 9.727 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.002086/0.002086, allocations: 63.91 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1057, allocations: 55.45 MB / 448.8 MB, free: 2.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.01108/0.1167, allocations: 7.755 MB / 456.6 MB, free: 11.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.1226, allocations: 2.593 MB / 459.2 MB, free: 8.512 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1237, allocations: 43.81 kB / 459.2 MB, free: 8.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.1249, allocations: 385.4 kB / 459.6 MB, free: 8.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.1287, allocations: 1.467 MB / 461.1 MB, free: 6.617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.1292, allocations: 175.7 kB / 461.2 MB, free: 6.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003628/0.1329, allocations: 2.605 MB / 463.8 MB, free: 3.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.1342, allocations: 0.8129 MB / 464.7 MB, free: 3.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.1358, allocations: 0.9533 MB / 465.6 MB, free: 2.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.138, allocations: 1.405 MB / 467 MB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005879/0.1386, allocations: 240 kB / 467.2 MB, free: 412 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.1402, allocations: 0.7801 MB / 468 MB, free: 15.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.1414, allocations: 1.238 MB / 469.3 MB, free: 14.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.1426, allocations: 1.114 MB / 470.4 MB, free: 13.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005628/0.1482, allocations: 5.077 MB / 475.5 MB, free: 8.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1482, allocations: 4 kB / 475.5 MB, free: 8.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1482, allocations: 0 / 475.5 MB, free: 8.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.136e-05/0.1483, allocations: 0 / 475.5 MB, free: 8.156 MB / 446.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.008948/0.1573, allocations: 4.003 MB / 479.5 MB, free: 4.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1573, allocations: 12.62 kB / 479.5 MB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007197/0.1645, allocations: 1.855 MB / 481.3 MB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.1672, allocations: 1.353 MB / 482.7 MB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.1674, allocations: 156.1 kB / 482.8 MB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004087/0.1678, allocations: 204 kB / 483 MB, free: 500 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1871/0.3549, allocations: 7.979 MB / 491 MB, free: 65.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-05/0.355, allocations: 22.98 kB / 491 MB, free: 65.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.3552, allocations: 92.8 kB / 491.1 MB, free: 65.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002311/0.3575, allocations: 1.858 MB / 493 MB, free: 65.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009435/0.367, allocations: 7.093 MB / 0.4884 GB, free: 62.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/0.3885, allocations: 22.07 MB / 0.5099 GB, free: 48.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00445/0.393, allocations: 1.917 MB / 0.5118 GB, free: 47.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.394, allocations: 0.7603 MB / 0.5125 GB, free: 47.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005236/0.3993, allocations: 2.954 MB / 0.5154 GB, free: 46.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3993, allocations: 45.47 kB / 0.5155 GB, free: 46.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=131): time 3.045e-06/0.3993, allocations: 0 / 0.5155 GB, free: 46.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.01211/0.4114, allocations: 6.792 MB / 0.5221 GB, free: 44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.4114, allocations: 69.78 kB / 0.5222 GB, free: 43.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.4142, allocations: 2.271 MB / 0.5244 GB, free: 42.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.4142, allocations: 41.58 kB / 0.5244 GB, free: 42.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009252/0.4152, allocations: 2.215 MB / 0.5266 GB, free: 41.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.4155, allocations: 0.6018 MB / 0.5272 GB, free: 40.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009244/0.4164, allocations: 0.8041 MB / 0.5279 GB, free: 40.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.4165, allocations: 359.4 kB / 0.5283 GB, free: 40.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.4184, allocations: 1.283 MB / 0.5295 GB, free: 39.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.421, allocations: 3.43 MB / 0.5329 GB, free: 36.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/0.4253, allocations: 5.06 MB / 0.5378 GB, free: 32.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-05/0.4254, allocations: 23.31 kB / 0.5379 GB, free: 32.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.006417/0.4318, allocations: 4.851 MB / 0.5426 GB, free: 28.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.4318, allocations: 36 kB / 0.5426 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-05/0.4319, allocations: 76 kB / 0.5427 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.4325, allocations: 305.5 kB / 0.543 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.4348, allocations: 0.8604 MB / 0.5438 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003436/0.4382, allocations: 3.492 MB / 0.5472 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.4404, allocations: 203.5 kB / 0.5474 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/0.4406, allocations: 233.9 kB / 0.5477 GB, free: 24.11 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.001766/0.4424, allocations: 1.569 MB / 0.5492 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.4426, allocations: 199.2 kB / 0.5494 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.4454, allocations: 1.964 MB / 0.5513 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.544e-05/0.4454, allocations: 36.25 kB / 0.5513 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4455, allocations: 2.938 kB / 0.5513 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.4455, allocations: 10.73 kB / 0.5513 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006846/0.4523, allocations: 4.594 MB / 0.5558 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4523, allocations: 4 kB / 0.5558 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/0.4531, allocations: 211.4 kB / 0.556 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/0.4536, allocations: 208.1 kB / 0.5562 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.09e-05/0.4537, allocations: 37.75 kB / 0.5563 GB, free: 16.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/0.4563, allocations: 2.784 MB / 0.559 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4563, allocations: 7.938 kB / 0.559 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.4597, allocations: 3.04 MB / 0.562 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000678/0.4604, allocations: 338.6 kB / 0.5623 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.4606, allocations: 27.98 kB / 0.5623 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007333/0.4613, allocations: 71.38 kB / 0.5624 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4615, allocations: 98.02 kB / 0.5625 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.4615, allocations: 40 kB / 0.5625 GB, free: 10.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001455/0.463, allocations: 1.33 MB / 0.5638 GB, free: 9.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.463, allocations: 0 / 0.5638 GB, free: 9.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002684/0.4657, allocations: 0.6678 MB / 0.5645 GB, free: 8.895 MB / 446.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.000245/0.4659, allocations: 158.2 kB / 0.5646 GB, free: 8.738 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.4698, allocations: 3.044 MB / 0.5676 GB, free: 5.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4698, allocations: 0 / 0.5676 GB, free: 5.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.4709, allocations: 0.9687 MB / 0.5685 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4722, allocations: 288.3 kB / 0.5688 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009215/0.4814, allocations: 6.61 MB / 0.5753 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/0.4841, allocations: 2.033 MB / 0.5773 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002646/0.4868, allocations: 1.139 MB / 0.5784 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.4871, allocations: 148.5 kB / 0.5785 GB, free: 10.45 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4871, allocations: 0 / 0.5785 GB, free: 10.45 MB / 462.1 MB Notification: Performance of Templates: time 0.04088/0.528, allocations: 21.11 MB / 0.5991 GB, free: 5.637 MB / 478.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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2492288060020655] Failed to read output from testmodel.py, exit status != 0: 0.5368746550520882 0.551227223 0.399864 Calling exit ...