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.0008574/0.0008574, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008045/0.0008045, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8826/0.8826, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 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.02646/0.02646, allocations: 7.118 MB / 267.1 MB, free: 6.332 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 393.6 MB, free: 3.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.519e-05, allocations: 3.547 kB / 393.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.005771/0.005786, allocations: 7.784 MB / 401.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.008576, allocations: 2.596 MB / 404 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.008949, allocations: 39.88 kB / 404.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.009488, allocations: 385.3 kB / 404.4 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.01133, allocations: 1.516 MB / 405.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.01154, allocations: 179.6 kB / 406.1 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.01301, allocations: 2.653 MB / 408.8 MB, free: 4.316 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005805/0.01359, allocations: 0.8246 MB / 409.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000876/0.01447, allocations: 1.43 MB / 411 MB, free: 2.035 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009574/0.01542, allocations: 1.34 MB / 412.4 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.01585, allocations: 240 kB / 412.6 MB, free: 468 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1355/0.1513, allocations: 0.8302 MB / 413.4 MB, free: 18.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.1524, allocations: 1.28 MB / 414.7 MB, free: 18.37 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.1535, allocations: 0.8448 MB / 415.6 MB, free: 18.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.1574, allocations: 5.052 MB / 420.6 MB, free: 18.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1574, allocations: 0 / 420.6 MB, free: 18.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1574, allocations: 2.438 kB / 420.6 MB, free: 18.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.532e-05/0.1574, allocations: 0 / 420.6 MB, free: 18.04 MB / 330.7 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.004897/0.1623, allocations: 3.965 MB / 424.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1623, allocations: 10.31 kB / 424.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.1656, allocations: 1.815 MB / 426.4 MB, free: 16.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.167, allocations: 1.353 MB / 427.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.1671, allocations: 157.3 kB / 427.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.1674, allocations: 201.4 kB / 428.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005942/0.1733, allocations: 8.009 MB / 436.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.1733, allocations: 18.19 kB / 436.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.1735, allocations: 107.9 kB / 436.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001278/0.1748, allocations: 1.849 MB / 438.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005745/0.1806, allocations: 7.171 MB / 445.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.1955, allocations: 22.06 MB / 467.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.1983, allocations: 1.926 MB / 469.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007377/0.199, allocations: 0.7782 MB / 470 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003247/0.2023, allocations: 2.946 MB / 473 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.2023, allocations: 52.8 kB / 473 MB, free: 9.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=131): time 2.425e-06/0.2023, allocations: 0 / 473 MB, free: 9.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=153): time 0.007734/0.21, allocations: 6.85 MB / 479.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.2101, allocations: 64.72 kB / 479.9 MB, free: 2.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.2118, allocations: 2.281 MB / 482.2 MB, free: 212 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.2119, allocations: 45.7 kB / 482.3 MB, free: 160 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008866/0.2128, allocations: 2.221 MB / 484.5 MB, free: 14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.2131, allocations: 0.5837 MB / 485.1 MB, free: 13.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006628/0.2137, allocations: 0.7905 MB / 485.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.2138, allocations: 349.9 kB / 486.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.2151, allocations: 1.292 MB / 487.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.2173, allocations: 3.433 MB / 490.9 MB, free: 6.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.2208, allocations: 5.079 MB / 496 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.2208, allocations: 20 kB / 496 MB, free: 488 kB / 378.7 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.004567/0.2254, allocations: 4.883 MB / 0.4892 GB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.2254, allocations: 36 kB / 0.4892 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/0.2254, allocations: 76 kB / 0.4893 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.2258, allocations: 313.4 kB / 0.4896 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.2272, allocations: 0.8655 MB / 0.4904 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.2299, allocations: 3.479 MB / 0.4938 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.231, allocations: 204.5 kB / 0.494 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.2312, allocations: 232.9 kB / 0.4942 GB, free: 6.312 MB / 394.7 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.001683/0.2329, allocations: 1.563 MB / 0.4958 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.233, allocations: 206.6 kB / 0.496 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.235, allocations: 1.981 MB / 0.4979 GB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/0.235, allocations: 27.97 kB / 0.4979 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.235, allocations: 4.281 kB / 0.4979 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.235, allocations: 3.984 kB / 0.4979 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/0.2398, allocations: 4.617 MB / 0.5024 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2398, allocations: 3.938 kB / 0.5024 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.2402, allocations: 211.8 kB / 0.5026 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.2405, allocations: 208.5 kB / 0.5028 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.2406, allocations: 31.98 kB / 0.5029 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.2426, allocations: 2.782 MB / 0.5056 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2426, allocations: 8.094 kB / 0.5056 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.2452, allocations: 3.079 MB / 0.5086 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.2456, allocations: 326.7 kB / 0.5089 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.2457, allocations: 24 kB / 0.5089 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.2461, allocations: 67.92 kB / 0.509 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2462, allocations: 96.77 kB / 0.5091 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.2463, allocations: 43.94 kB / 0.5091 GB, free: 6.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.2474, allocations: 1.346 MB / 0.5105 GB, free: 5.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2474, allocations: 0 / 0.5105 GB, free: 5.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001613/0.249, allocations: 0.6677 MB / 0.5111 GB, free: 4.84 MB / 410.7 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.0002513/0.2493, allocations: 154.9 kB / 0.5112 GB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002792/0.2521, allocations: 3.064 MB / 0.5142 GB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2521, allocations: 0 / 0.5142 GB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008332/0.2529, allocations: 0.966 MB / 0.5152 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.2537, allocations: 281.1 kB / 0.5155 GB, free: 388 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.2607, allocations: 6.869 MB / 0.5222 GB, free: 9.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.2625, allocations: 2.034 MB / 0.5241 GB, free: 7.379 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.2628, allocations: 192.5 kB / 0.5243 GB, free: 7.191 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2628, allocations: 0 / 0.5243 GB, free: 7.191 MB / 426.7 MB Notification: Performance of Templates: time 0.1741/0.4369, allocations: 55.69 MB / 0.5787 GB, free: 156.7 MB / 474.7 MB " [Timeout remaining time 660] 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: 7.18075264710933] Failed to read output from testmodel.py, exit status != 0: 0.44191038236021996 0.450629651 0.29153887500000003 Calling exit ...