Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.00107/0.00107, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001129/0.001129, allocations: 173 kB / 23.36 MB, free: 0.9766 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.9083/0.9083, 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.03222/0.03222, allocations: 7.19 MB / 267.4 MB, free: 5.941 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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 286 MB, free: 3.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.05e-05, allocations: 2.312 kB / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.1149/0.115, allocations: 8 MB / 294 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005239/0.1202, allocations: 2.672 MB / 296.7 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008522/0.1211, allocations: 39.97 kB / 296.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007601/0.1218, allocations: 384.9 kB / 297.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.1244, allocations: 1.504 MB / 298.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1247, allocations: 134.7 kB / 298.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.1272, allocations: 2.567 MB / 301.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.1283, allocations: 0.8051 MB / 302.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.1298, allocations: 1.376 MB / 303.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.1313, allocations: 1.259 MB / 304.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004462/0.1317, allocations: 233.5 kB / 305 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.1329, allocations: 0.8261 MB / 305.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000653/0.1335, allocations: 1.265 MB / 307.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008313/0.1344, allocations: 0.8223 MB / 307.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.1368, allocations: 3.279 MB / 311.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1368, allocations: 0 / 311.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1368, allocations: 0 / 311.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.239e-05/0.1369, allocations: 0 / 311.2 MB, free: 6.891 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: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.003785/0.1407, allocations: 3.376 MB / 314.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1408, allocations: 8.625 kB / 314.6 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.1432, allocations: 1.011 MB / 315.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.1442, allocations: 0.9919 MB / 316.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.1443, allocations: 153.7 kB / 316.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.1445, allocations: 196.6 kB / 316.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.1479, allocations: 3.379 MB / 320.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/0.148, allocations: 23.81 kB / 320.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.1482, allocations: 95.86 kB / 320.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001479/0.1497, allocations: 1.649 MB / 322.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.1533, allocations: 1.894 MB / 324 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.1688, allocations: 17.65 MB / 341.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.171, allocations: 1.019 MB / 342.6 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.1713, allocations: 232.1 kB / 342.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00301/0.1743, allocations: 2.274 MB / 345.1 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1743, allocations: 47.5 kB / 345.2 MB, free: 3.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=127): time 3.306e-06/0.1743, allocations: 4 kB / 345.2 MB, free: 3.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=149): time 0.006088/0.1804, allocations: 3.569 MB / 348.7 MB, free: 340 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1805, allocations: 68.41 kB / 348.8 MB, free: 260 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.1818, allocations: 1.718 MB / 350.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.1819, allocations: 53.69 kB / 350.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.1827, allocations: 2.118 MB / 352.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.1829, allocations: 0.5657 MB / 353.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005928/0.1835, allocations: 0.747 MB / 354 MB, free: 11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.1836, allocations: 353.7 kB / 354.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.1841, allocations: 401.3 kB / 354.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.1856, allocations: 2.431 MB / 357.2 MB, free: 6.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.1879, allocations: 3.316 MB / 360.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-05/0.1879, allocations: 20 kB / 360.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.002916/0.1908, allocations: 2.603 MB / 363.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.1909, allocations: 36 kB / 363.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.658e-05/0.1909, allocations: 72.7 kB / 363.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/0.1915, allocations: 266.6 kB / 363.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.1928, allocations: 0.8266 MB / 364.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.1947, allocations: 2.326 MB / 366.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.196, allocations: 148 kB / 366.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.1961, allocations: 195.9 kB / 367 MB, free: 11.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (469): * Single equations (assignments): 464 * 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.0008192/0.197, allocations: 418.7 kB / 367.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.1971, allocations: 144.5 kB / 367.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009806/0.1981, allocations: 0.7693 MB / 368.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/0.1982, allocations: 16 kB / 368.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1982, allocations: 4.062 kB / 368.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.1982, allocations: 11.92 kB / 368.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.2018, allocations: 2.952 MB / 371.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2018, allocations: 0 / 371.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.2021, allocations: 175.7 kB / 371.4 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.2026, allocations: 231.4 kB / 371.7 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.2026, allocations: 31.97 kB / 371.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.2039, allocations: 1.735 MB / 373.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.2039, allocations: 11.88 kB / 373.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.2051, allocations: 1.105 MB / 374.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.2054, allocations: 170.7 kB / 374.7 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.2055, allocations: 23.94 kB / 374.7 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.2058, allocations: 27.98 kB / 374.8 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.2059, allocations: 85.48 kB / 374.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.2059, allocations: 39.98 kB / 374.9 MB, free: 3.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005491/0.2065, allocations: 0.6154 MB / 375.5 MB, free: 3 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2065, allocations: 0 / 375.5 MB, free: 3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001833/0.2083, allocations: 0.6679 MB / 376.2 MB, free: 2.332 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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 (109): * Single equations (assignments): 104 * 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.000232/0.2085, allocations: 132.1 kB / 376.3 MB, free: 2.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.2104, allocations: 1.683 MB / 378 MB, free: 0.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.263e-05/0.2105, allocations: 51.94 kB / 378 MB, free: 456 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.211, allocations: 0.5041 MB / 378.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/0.2117, allocations: 292.6 kB / 378.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00644/0.2181, allocations: 5.418 MB / 384.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.2189, allocations: 0.8961 MB / 385.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007299/0.2196, allocations: 289.3 kB / 385.4 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.2201, allocations: 353.2 kB / 385.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2201, allocations: 0 / 385.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of Templates: time 0.03115/0.2512, allocations: 22.05 MB / 407.8 MB, free: 2.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.07917064987123]