Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.001163/0.001163, allocations: 80.88 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.001808/0.001808, 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.9801/0.9801, allocations: 177.2 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.03085/0.03085, allocations: 7.182 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.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 286.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.263e-05, allocations: 2.312 kB / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.1191/0.1191, allocations: 7.89 MB / 294 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004487/0.1236, allocations: 2.62 MB / 296.6 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007467/0.1243, allocations: 37.88 kB / 296.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.1251, allocations: 370.4 kB / 297 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.1278, allocations: 1.504 MB / 298.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1281, allocations: 97.38 kB / 298.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.131, allocations: 2.498 MB / 301.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.1322, allocations: 0.747 MB / 301.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.1337, allocations: 1.33 MB / 303.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.1351, allocations: 1.239 MB / 304.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.1356, allocations: 221.8 kB / 304.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1368, allocations: 0.8131 MB / 305.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007518/0.1375, allocations: 1.263 MB / 306.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007818/0.1383, allocations: 0.7964 MB / 307.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.1407, allocations: 3.261 MB / 310.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1407, allocations: 0 / 310.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1407, allocations: 3.625 kB / 310.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.142e-05/0.1408, allocations: 0 / 310.8 MB, free: 7.32 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.004642/0.1454, allocations: 3.778 MB / 314.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1454, allocations: 8.625 kB / 314.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.148, allocations: 0.9917 MB / 315.5 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.149, allocations: 0.9682 MB / 316.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.1491, allocations: 147.9 kB / 316.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.1493, allocations: 192.2 kB / 316.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.1531, allocations: 3.66 MB / 320.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/0.1532, allocations: 27.95 kB / 320.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.1533, allocations: 99.78 kB / 320.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001596/0.1549, allocations: 1.743 MB / 322.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004389/0.1593, allocations: 2.1 MB / 324.5 MB, free: 9.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/0.1756, allocations: 19.76 MB / 344.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.1786, allocations: 1.294 MB / 345.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.179, allocations: 262 kB / 345.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002906/0.1819, allocations: 2.502 MB / 348.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1819, allocations: 43.56 kB / 348.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=146): time 3.326e-06/0.1819, allocations: 0 / 348.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of matching and sorting (n=161): time 0.006771/0.1887, allocations: 3.764 MB / 352.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1887, allocations: 64.72 kB / 352.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.1899, allocations: 1.648 MB / 353.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.19, allocations: 45.7 kB / 353.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008392/0.1908, allocations: 2.184 MB / 356 MB, free: 8.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.1912, allocations: 0.6239 MB / 356.6 MB, free: 8.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006534/0.1918, allocations: 0.8067 MB / 357.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.1919, allocations: 341.9 kB / 357.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/0.1924, allocations: 434.5 kB / 358.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.194, allocations: 2.752 MB / 361 MB, free: 2.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/0.1966, allocations: 3.739 MB / 364.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/0.1967, allocations: 24 kB / 364.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.003024/0.1997, allocations: 2.837 MB / 367.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.1997, allocations: 40 kB / 367.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.555e-05/0.1998, allocations: 84 kB / 367.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.2002, allocations: 228.2 kB / 367.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.2017, allocations: 0.9553 MB / 368.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.2035, allocations: 2.191 MB / 371.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.2047, allocations: 160 kB / 371.2 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.2049, allocations: 216 kB / 371.4 MB, free: 6.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 385 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (519): * Single equations (assignments): 514 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007487/0.2056, allocations: 464.1 kB / 371.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.2058, allocations: 143.9 kB / 372 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009861/0.2068, allocations: 0.7832 MB / 372.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.024e-05/0.2068, allocations: 20 kB / 372.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2068, allocations: 4 kB / 372.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2068, allocations: 11.97 kB / 372.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.2104, allocations: 2.94 MB / 375.8 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.2104, allocations: 16.09 kB / 375.8 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.2109, allocations: 211.7 kB / 376 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.2112, allocations: 199.4 kB / 376.2 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.2113, allocations: 43.17 kB / 376.2 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.2125, allocations: 1.636 MB / 377.9 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2125, allocations: 4 kB / 377.9 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2138, allocations: 1.322 MB / 379.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.214, allocations: 190.5 kB / 379.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.2141, allocations: 31.98 kB / 379.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.2145, allocations: 28 kB / 379.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.2146, allocations: 108.7 kB / 379.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.2146, allocations: 37.17 kB / 379.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005379/0.2152, allocations: 0.6371 MB / 380.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2152, allocations: 0 / 380.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001844/0.217, allocations: 0.6796 MB / 380.9 MB, free: 12.99 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,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 (123): * Single equations (assignments): 118 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002459/0.2173, allocations: 156 kB / 381.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.2192, allocations: 1.822 MB / 382.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.76e-05/0.2192, allocations: 51.94 kB / 382.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.2197, allocations: 0.5168 MB / 383.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.2205, allocations: 291.9 kB / 383.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.2267, allocations: 5.607 MB / 389.3 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008128/0.2275, allocations: 0.9086 MB / 390.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008197/0.2283, allocations: 319.2 kB / 390.6 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.2288, allocations: 377.2 kB / 390.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2288, allocations: 0 / 390.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of Templates: time 0.03011/0.259, allocations: 20.27 MB / 411.2 MB, free: 14.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.39316892484203]