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.001251/0.001251, allocations: 80.94 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.00141/0.00141, allocations: 173 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.9548/0.9548, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.03012/0.03012, allocations: 7.184 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.333e-06/1.333e-06, allocations: 0 / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.531e-05, allocations: 14.25 kB / 286.1 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.1219/0.1219, allocations: 8.048 MB / 294.1 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004823/0.1267, allocations: 2.675 MB / 296.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007575/0.1275, allocations: 37.5 kB / 296.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.1282, allocations: 384.2 kB / 297.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.1308, allocations: 1.496 MB / 298.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1312, allocations: 133.9 kB / 298.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.1335, allocations: 2.561 MB / 301.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000917/0.1344, allocations: 0.8029 MB / 302.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.136, allocations: 1.373 MB / 303.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.1374, allocations: 1.26 MB / 304.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.1378, allocations: 231.4 kB / 305.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.139, allocations: 0.8462 MB / 305.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000759/0.1398, allocations: 1.269 MB / 307.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006626/0.1404, allocations: 0.8275 MB / 308 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.1428, allocations: 3.269 MB / 311.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1428, allocations: 0 / 311.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1428, allocations: 1.25 kB / 311.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.1428, allocations: 0 / 311.3 MB, free: 6.621 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.009497/0.1523, allocations: 3.38 MB / 314.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.1524, allocations: 12.62 kB / 314.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/0.1557, allocations: 1.007 MB / 315.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1569, allocations: 1.006 MB / 316.7 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.012e-05/0.1569, allocations: 144 kB / 316.8 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.1572, allocations: 196.2 kB / 317 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.1614, allocations: 3.374 MB / 320.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/0.1615, allocations: 19.81 kB / 320.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.1617, allocations: 95.84 kB / 320.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001952/0.1637, allocations: 1.645 MB / 322.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.1677, allocations: 1.903 MB / 324.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.185, allocations: 17.66 MB / 341.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.1877, allocations: 1.004 MB / 342.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.1881, allocations: 240.1 kB / 342.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003542/0.1917, allocations: 2.274 MB / 345.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.1919, allocations: 47.5 kB / 345.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=127): time 2.946e-06/0.1919, allocations: 0 / 345.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=149): time 0.007449/0.1994, allocations: 3.571 MB / 348.8 MB, free: 64 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1994, allocations: 68.41 kB / 348.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.201, allocations: 1.718 MB / 350.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.2011, allocations: 53.69 kB / 350.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.2023, allocations: 2.114 MB / 352.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.2026, allocations: 0.5735 MB / 353.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000796/0.2034, allocations: 0.7392 MB / 354.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.2035, allocations: 349.8 kB / 354.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/0.2042, allocations: 413.2 kB / 354.9 MB, free: 9.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.2058, allocations: 2.427 MB / 357.3 MB, free: 6.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/0.2085, allocations: 3.31 MB / 360.6 MB, free: 2.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/0.2085, allocations: 24 kB / 360.6 MB, free: 2.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.002592/0.2111, allocations: 2.599 MB / 363.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.2111, allocations: 40.25 kB / 363.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.307e-05/0.2112, allocations: 72 kB / 363.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004379/0.2116, allocations: 266.6 kB / 363.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.213, allocations: 0.8656 MB / 364.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.2148, allocations: 2.323 MB / 366.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.2158, allocations: 148 kB / 366.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.2159, allocations: 203.9 kB / 367.1 MB, free: 11.48 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.0005771/0.2165, allocations: 415.6 kB / 367.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.2167, allocations: 136.6 kB / 367.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009166/0.2176, allocations: 0.7732 MB / 368.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/0.2176, allocations: 23.98 kB / 368.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2176, allocations: 0 / 368.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.2176, allocations: 11.92 kB / 368.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.2208, allocations: 2.938 MB / 371.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2208, allocations: 0 / 371.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.2213, allocations: 195.2 kB / 371.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.2217, allocations: 235.4 kB / 371.8 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.2217, allocations: 31.97 kB / 371.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.223, allocations: 1.734 MB / 373.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.223, allocations: 7.938 kB / 373.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2242, allocations: 1.116 MB / 374.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.2244, allocations: 166.7 kB / 374.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.2245, allocations: 27.98 kB / 374.9 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.2248, allocations: 20 kB / 374.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2249, allocations: 96.7 kB / 375 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.2249, allocations: 28 kB / 375 MB, free: 3.297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004956/0.2254, allocations: 0.6193 MB / 375.7 MB, free: 2.684 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2254, allocations: 0 / 375.7 MB, free: 2.684 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001471/0.2269, allocations: 0.6679 MB / 376.3 MB, free: 2.016 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.0002007/0.2271, allocations: 132.1 kB / 376.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.2287, allocations: 1.692 MB / 378.1 MB, free: 180 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.203e-05/0.2287, allocations: 47.94 kB / 378.2 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.2292, allocations: 0.5131 MB / 378.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.2299, allocations: 276.1 kB / 379 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.2354, allocations: 5.42 MB / 384.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/0.2361, allocations: 0.8961 MB / 385.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006246/0.2368, allocations: 285.6 kB / 385.6 MB, free: 8.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.2372, allocations: 357.2 kB / 385.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2372, allocations: 0 / 385.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of Templates: time 0.02894/0.2661, allocations: 22.06 MB / 408 MB, free: 2.574 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0394294634461403]