Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.0009414/0.0009414, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001319/0.001319, allocations: 177 kB / 23.36 MB, free: 1.129 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.9871/0.9871, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.02895/0.02895, allocations: 7.191 MB / 267.4 MB, free: 5.938 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.379e-05, allocations: 2.312 kB / 286 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.1197/0.1198, allocations: 8.32 MB / 294.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.1242, allocations: 2.71 MB / 297.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006337/0.1248, allocations: 37.84 kB / 297.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.1254, allocations: 381.3 kB / 297.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.1276, allocations: 1.517 MB / 299 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1279, allocations: 143.1 kB / 299.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.13, allocations: 2.595 MB / 301.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000828/0.1308, allocations: 0.8372 MB / 302.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.1321, allocations: 1.395 MB / 304 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.1333, allocations: 1.278 MB / 305.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003564/0.1337, allocations: 236.2 kB / 305.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009592/0.1347, allocations: 0.8322 MB / 306.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005932/0.1353, allocations: 1.271 MB / 307.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.1359, allocations: 0.8446 MB / 308.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.1379, allocations: 3.301 MB / 311.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1379, allocations: 4.688 kB / 311.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1379, allocations: 0 / 311.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.905e-05/0.138, allocations: 0.6562 kB / 311.7 MB, free: 6.367 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.00347/0.1414, allocations: 3.425 MB / 315.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1415, allocations: 8.625 kB / 315.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.1439, allocations: 1.016 MB / 316.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1449, allocations: 1 MB / 317.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.145, allocations: 152.1 kB / 317.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.1452, allocations: 204.2 kB / 317.5 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.1487, allocations: 3.417 MB / 320.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.1487, allocations: 28.27 kB / 321 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.1489, allocations: 95.8 kB / 321.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/0.1504, allocations: 1.657 MB / 322.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/0.154, allocations: 1.906 MB / 324.6 MB, free: 9.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.1678, allocations: 17.83 MB / 342.4 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.17, allocations: 1.02 MB / 343.5 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.1703, allocations: 236.6 kB / 343.7 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002881/0.1731, allocations: 2.287 MB / 346 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1732, allocations: 43.56 kB / 346 MB, free: 3.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 2.234e-06/0.1732, allocations: 0 / 346 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=154): time 0.005938/0.1791, allocations: 3.647 MB / 349.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1791, allocations: 68.66 kB / 349.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.1807, allocations: 1.758 MB / 351.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.1808, allocations: 45.7 kB / 351.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008098/0.1816, allocations: 2.142 MB / 353.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.1819, allocations: 0.5851 MB / 354.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006049/0.1825, allocations: 0.7551 MB / 355 MB, free: 9.992 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.1826, allocations: 353.8 kB / 355.4 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.1831, allocations: 417.5 kB / 355.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.1846, allocations: 2.464 MB / 358.2 MB, free: 5.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.1869, allocations: 3.382 MB / 361.6 MB, free: 1.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/0.1869, allocations: 24 kB / 361.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.002769/0.1897, allocations: 2.564 MB / 364.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.1897, allocations: 36 kB / 364.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-05/0.1898, allocations: 76.09 kB / 364.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.19, allocations: 181.5 kB / 364.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.1915, allocations: 0.8772 MB / 365.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.1925, allocations: 1.78 MB / 367.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009824/0.1934, allocations: 159.9 kB / 367.3 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.1936, allocations: 196 kB / 367.5 MB, free: 11.25 MB / 330.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: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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 (488): * Single equations (assignments): 483 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006581/0.1943, allocations: 430.6 kB / 367.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.1945, allocations: 143.8 kB / 368.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008023/0.1953, allocations: 0.7281 MB / 368.8 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/0.1953, allocations: 20 kB / 368.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1953, allocations: 0 / 368.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1953, allocations: 7.969 kB / 368.8 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.1986, allocations: 2.891 MB / 371.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1987, allocations: 0 / 371.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.1991, allocations: 211.7 kB / 371.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/0.1993, allocations: 149 kB / 372.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.1994, allocations: 28.12 kB / 372.1 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007843/0.2002, allocations: 1.58 MB / 373.7 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2002, allocations: 4 kB / 373.7 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.2012, allocations: 1.059 MB / 374.7 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.2014, allocations: 166.7 kB / 374.9 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.2015, allocations: 24 kB / 374.9 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.2018, allocations: 39.98 kB / 375 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.2019, allocations: 76.84 kB / 375 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.202, allocations: 39.92 kB / 375.1 MB, free: 3.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005181/0.2025, allocations: 0.6282 MB / 375.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2025, allocations: 0 / 375.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001537/0.204, allocations: 0.6523 MB / 376.4 MB, free: 2.168 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * 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 {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000258/0.2043, allocations: 136.1 kB / 376.5 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.206, allocations: 1.638 MB / 378.1 MB, free: 384 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-05/0.2061, allocations: 51.94 kB / 378.2 MB, free: 328 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.2065, allocations: 458.5 kB / 378.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.2072, allocations: 279.3 kB / 378.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.2128, allocations: 5.415 MB / 384.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.2135, allocations: 0.8932 MB / 385.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000661/0.2142, allocations: 310.1 kB / 385.5 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.2147, allocations: 381.2 kB / 385.9 MB, free: 8.52 MB / 346.7 MB Notification: Performance of SimCode: time 9.61e-07/0.2147, allocations: 0 / 385.9 MB, free: 8.52 MB / 346.7 MB Notification: Performance of Templates: time 0.02845/0.2431, allocations: 21.08 MB / 407 MB, free: 3.766 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.102529662195593]