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.001099/0.001099, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001019/0.001019, allocations: 173 kB / 23.49 MB, free: 1.059 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.9796/0.9796, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.05602/0.05602, allocations: 7.175 MB / 267.5 MB, free: 6.133 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.573e-06/1.573e-06, allocations: 0 / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.269e-05, allocations: 5.922 kB / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.005169/0.005192, allocations: 7.974 MB / 346.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.008515, allocations: 2.538 MB / 349.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.009139, allocations: 39.88 kB / 349.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.009803, allocations: 365.6 kB / 349.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.01252, allocations: 1.501 MB / 351.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.01278, allocations: 95.75 kB / 351.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.01497, allocations: 2.497 MB / 353.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009532/0.01592, allocations: 0.7207 MB / 354.6 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.01748, allocations: 1.344 MB / 355.9 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.01898, allocations: 1.286 MB / 357.2 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.0194, allocations: 220 kB / 357.4 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.02042, allocations: 0.8151 MB / 358.3 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007575/0.02118, allocations: 1.254 MB / 359.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009588/0.02213, allocations: 0.798 MB / 360.3 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.02535, allocations: 3.26 MB / 363.6 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.02536, allocations: 0 / 363.6 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02536, allocations: 4 kB / 363.6 MB, free: 1.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.02548, allocations: 0 / 363.6 MB, free: 1.738 MB / 282.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.008029/0.03351, allocations: 5.084 MB / 368.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.03355, allocations: 12.62 kB / 368.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/0.03779, allocations: 2.187 MB / 370.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.03932, allocations: 1.229 MB / 372.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.112e-05/0.0394, allocations: 143.9 kB / 372.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.03967, allocations: 196.2 kB / 372.4 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005597/0.04526, allocations: 4.361 MB / 376.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.306e-05/0.04533, allocations: 20 kB / 376.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.04555, allocations: 103.8 kB / 376.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001872/0.04742, allocations: 1.934 MB / 378.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006205/0.05363, allocations: 2.568 MB / 381.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/0.07496, allocations: 27.55 MB / 408.9 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.07873, allocations: 1.319 MB / 410.3 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/0.07929, allocations: 360.8 kB / 410.6 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1306/0.2099, allocations: 2.744 MB / 413.4 MB, free: 76.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2099, allocations: 50.48 kB / 413.4 MB, free: 76.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 4.609e-06/0.2099, allocations: 0 / 413.4 MB, free: 76.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.00874/0.2187, allocations: 4.523 MB / 417.9 MB, free: 75.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.2187, allocations: 66.62 kB / 418 MB, free: 75.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.2208, allocations: 2.02 MB / 420 MB, free: 75.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.2209, allocations: 47.67 kB / 420.1 MB, free: 75.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000798/0.2217, allocations: 2.343 MB / 422.4 MB, free: 73.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.222, allocations: 0.6479 MB / 423.1 MB, free: 73.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006781/0.2227, allocations: 0.9127 MB / 424 MB, free: 72.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.2227, allocations: 0.5107 MB / 424.5 MB, free: 72.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007931/0.2235, allocations: 441.1 kB / 424.9 MB, free: 72.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.2253, allocations: 3.981 MB / 428.9 MB, free: 67.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/0.2282, allocations: 4.88 MB / 433.8 MB, free: 62.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/0.2282, allocations: 23.44 kB / 433.8 MB, free: 62.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=558) (initialization): time 0.003783/0.232, allocations: 3.542 MB / 437.3 MB, free: 59.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.232, allocations: 42.5 kB / 437.4 MB, free: 59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.422e-05/0.2321, allocations: 88 kB / 437.5 MB, free: 58.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.2325, allocations: 229.7 kB / 437.7 MB, free: 58.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.2339, allocations: 0.9395 MB / 438.6 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.2357, allocations: 2.883 MB / 441.5 MB, free: 55.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.237, allocations: 198.4 kB / 441.7 MB, free: 54.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.2372, allocations: 251.3 kB / 441.9 MB, free: 54.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * 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 (518): * Single equations (assignments): 513 * 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.0008299/0.238, allocations: 495.6 kB / 442.4 MB, free: 54.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.2382, allocations: 246.6 kB / 442.7 MB, free: 53.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.2395, allocations: 1.03 MB / 443.7 MB, free: 53.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-05/0.2396, allocations: 31.31 kB / 443.7 MB, free: 53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2396, allocations: 0 / 443.7 MB, free: 53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.2396, allocations: 10.33 kB / 443.7 MB, free: 53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/0.2443, allocations: 4.131 MB / 447.9 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2443, allocations: 4 kB / 447.9 MB, free: 49.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.2448, allocations: 227.6 kB / 448.1 MB, free: 48.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.245, allocations: 123.5 kB / 448.2 MB, free: 48.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.2451, allocations: 39.92 kB / 448.3 MB, free: 48.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.2463, allocations: 2.296 MB / 450.6 MB, free: 46.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.2463, allocations: 14.62 kB / 450.6 MB, free: 46.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.248, allocations: 1.686 MB / 452.3 MB, free: 44.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.2482, allocations: 194.6 kB / 452.4 MB, free: 44.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.2483, allocations: 34.72 kB / 452.5 MB, free: 44.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.2487, allocations: 59.94 kB / 452.5 MB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.2488, allocations: 108.7 kB / 452.6 MB, free: 44.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.2488, allocations: 51.98 kB / 452.7 MB, free: 43.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008152/0.2497, allocations: 0.8811 MB / 453.6 MB, free: 43.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2497, allocations: 0 / 453.6 MB, free: 43.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002198/0.2519, allocations: 0.6684 MB / 454.2 MB, free: 42.45 MB / 330.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.0002695/0.2521, allocations: 174.2 kB / 454.4 MB, free: 42.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002495/0.2546, allocations: 2.109 MB / 456.5 MB, free: 40.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2546, allocations: 4 kB / 456.5 MB, free: 40.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.2552, allocations: 0.6703 MB / 457.2 MB, free: 39.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/0.256, allocations: 281.3 kB / 457.5 MB, free: 39.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006128/0.2622, allocations: 5.593 MB / 463.1 MB, free: 33.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.2628, allocations: 0.9242 MB / 464 MB, free: 32.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001333/0.2641, allocations: 1.061 MB / 465.1 MB, free: 31.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.2644, allocations: 156.5 kB / 465.2 MB, free: 31.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2644, allocations: 0 / 465.2 MB, free: 31.29 MB / 330.7 MB Notification: Performance of Templates: time 0.02458/0.289, allocations: 18.44 MB / 483.6 MB, free: 13.2 MB / 330.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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.547714193118736]