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.001006/0.001006, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001036/0.001036, allocations: 181 kB / 23.36 MB, free: 1.133 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.9591/0.9591, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.0297/0.0297, allocations: 7.194 MB / 267.4 MB, free: 5.93 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.1 MB, free: 3.293 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.424e-05, allocations: 2.312 kB / 286.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.114/0.114, allocations: 8.357 MB / 294.4 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004218/0.1182, allocations: 2.719 MB / 297.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006799/0.1189, allocations: 38.22 kB / 297.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.1195, allocations: 384.5 kB / 297.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.1217, allocations: 1.496 MB / 299.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1219, allocations: 139.7 kB / 299.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.124, allocations: 2.597 MB / 301.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.1248, allocations: 0.8385 MB / 302.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.126, allocations: 1.396 MB / 304 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009757/0.1269, allocations: 1.279 MB / 305.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.1272, allocations: 234.6 kB / 305.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009128/0.1281, allocations: 0.8577 MB / 306.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000527/0.1286, allocations: 1.277 MB / 307.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004358/0.129, allocations: 0.8363 MB / 308.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.1307, allocations: 3.303 MB / 311.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1307, allocations: 0 / 311.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1307, allocations: 0.6562 kB / 311.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.1307, allocations: 0 / 311.8 MB, free: 6.23 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.003014/0.1337, allocations: 3.42 MB / 315.2 MB, free: 2.773 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1337, allocations: 9.188 kB / 315.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.1362, allocations: 1.021 MB / 316.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008691/0.1371, allocations: 0.991 MB / 317.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.1371, allocations: 156.1 kB / 317.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.1373, allocations: 200.2 kB / 317.6 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.1407, allocations: 3.42 MB / 321 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.1407, allocations: 37.27 kB / 321.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.1409, allocations: 91.88 kB / 321.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/0.1424, allocations: 1.653 MB / 322.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.1452, allocations: 1.9 MB / 324.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.1584, allocations: 17.84 MB / 342.5 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.1604, allocations: 1.018 MB / 343.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.1607, allocations: 240.6 kB / 343.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00274/0.1635, allocations: 2.278 MB / 346.1 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1635, allocations: 43.56 kB / 346.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 2.415e-06/0.1635, allocations: 0 / 346.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=154): time 0.005874/0.1694, allocations: 3.647 MB / 349.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1694, allocations: 64.72 kB / 349.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.1707, allocations: 1.755 MB / 351.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.1707, allocations: 49.7 kB / 351.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/0.1715, allocations: 2.142 MB / 353.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.1718, allocations: 0.5851 MB / 354.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006159/0.1724, allocations: 0.7628 MB / 355.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.1725, allocations: 349.9 kB / 355.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.173, allocations: 409.5 kB / 355.9 MB, free: 9.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.1743, allocations: 2.471 MB / 358.3 MB, free: 5.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.1765, allocations: 3.383 MB / 361.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/0.1765, allocations: 20 kB / 361.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.002523/0.1791, allocations: 2.57 MB / 364.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.1791, allocations: 36 kB / 364.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-05/0.1791, allocations: 76 kB / 364.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.1794, allocations: 177.1 kB / 364.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.181, allocations: 0.9281 MB / 365.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.182, allocations: 1.778 MB / 367.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.1831, allocations: 163.9 kB / 367.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.1833, allocations: 204 kB / 367.7 MB, free: 11.06 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.0007053/0.184, allocations: 427.3 kB / 368.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.1841, allocations: 143.2 kB / 368.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008754/0.185, allocations: 0.7282 MB / 368.9 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.1851, allocations: 19.98 kB / 369 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1851, allocations: 8 kB / 369 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1851, allocations: 3.984 kB / 369 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.1883, allocations: 2.88 MB / 371.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1883, allocations: 4 kB / 371.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.1888, allocations: 223.6 kB / 372.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/0.189, allocations: 157.2 kB / 372.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.1891, allocations: 23.98 kB / 372.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007996/0.1899, allocations: 1.576 MB / 373.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1899, allocations: 16.09 kB / 373.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.191, allocations: 1.048 MB / 374.9 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.1911, allocations: 170.6 kB / 375.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1912, allocations: 28 kB / 375.1 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.1915, allocations: 31.98 kB / 375.1 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1916, allocations: 93.88 kB / 375.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.1917, allocations: 35.98 kB / 375.2 MB, free: 3.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005111/0.1922, allocations: 0.6282 MB / 375.9 MB, free: 2.617 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1922, allocations: 0 / 375.9 MB, free: 2.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001503/0.1937, allocations: 0.6484 MB / 376.5 MB, free: 1.969 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.0002257/0.1939, allocations: 140.1 kB / 376.7 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.1955, allocations: 1.635 MB / 378.3 MB, free: 180 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.541e-05/0.1956, allocations: 51.94 kB / 378.3 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.196, allocations: 457 kB / 378.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.1967, allocations: 282.1 kB / 379.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.2026, allocations: 5.421 MB / 384.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/0.2034, allocations: 0.8932 MB / 385.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007119/0.2041, allocations: 306.9 kB / 385.7 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/0.2046, allocations: 373.2 kB / 386 MB, free: 8.324 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2046, allocations: 0 / 386 MB, free: 8.324 MB / 346.7 MB Notification: Performance of Templates: time 0.03722/0.2418, allocations: 21.13 MB / 407.2 MB, free: 3.523 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1221827301196754]